{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import numpy as np\n",
    "from pandas.tseries.offsets import *\n",
    "from xiao_utils import f"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 单纯考虑车型的特征（140行）\n",
    "### 该类型特征一定要分下述这两个版本分别做！\n",
    "#### 算出两个版本：(OC_这一前缀表示Only Class，即单纯考虑车型的整体情况，不考虑历史各月的不同情况)\n",
    "    + OC_features_offline.csv —— 统计时不带2017十月的，用于线下验证\n",
    "    + OC_features_online.csv 统计时带上2017十月的，用于线上提交结果\n",
    "    \n",
    "### 该类型特征的 column name 都以 OC_ 开头，意为Only Class\n",
    "\n",
    "1. 该车型总的记录条数\n",
    "2. 该车型销售的月数（起售至今几个月了）\n",
    "3. 该车型销量总数\n",
    "4. 该车型月均销量，即上一条除以上上条\n",
    "4. 该车型各种数据的直接的describe（）\n",
    "    1. 数值型特征的mean, min, max, 中位数, 25%, 75%\n",
    "1. 车型各项参数的众数mode（依据并非表中出现次数，而是取本车型下销量最多的当前参数作为这一众数）\n",
    "\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 将level_id字段中的-替换为np.nan\n",
    "df = pd.read_csv('../../data/origin/[new] yancheng_train_20171226.csv', dtype={'sale_date':str}, na_values=['-'], low_memory=False)\n",
    "df['sale_date']= pd.to_datetime(df['sale_date'], format='%Y%m')\n",
    "\n",
    "# 将price_level字段转换成有序类别的类型，并用其数值填入该列。\n",
    "df['price_level'] = df['price_level'].astype('category', categories=['5WL','5-8W','8-10W','10-15W','15-20W','20-25W','25-35W','35-50W','50-75W'], ordered=True)\n",
    "df['price_level'] = df['price_level'].cat.codes\n",
    "\n",
    "# 待选方案：先把power和扭矩字段带/的行复制一份，然后将新行里的销量清零，将原行和新行的power和扭矩字段的值分别赋为slash前后的值。\n",
    "# 现行方案：先他娘的直接把slash和后面的值删掉。省得影响记录条数相关的统计量。\n",
    "def process_power_and_torque(s):\n",
    "    return s.split('/')[0]\n",
    "df['power'] = df['power'].astype(str).apply(process_power_and_torque).astype(float) #[18600]\n",
    "df['engine_torque'] = df['engine_torque'].astype(str).apply(process_power_and_torque).astype(float)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>class_id</th>\n",
       "      <th>brand_id</th>\n",
       "      <th>OC_mode_compartment</th>\n",
       "      <th>OC_mode_type_id</th>\n",
       "      <th>OC_mode_level_id</th>\n",
       "      <th>OC_mode_department_id</th>\n",
       "      <th>OC_mode_TR</th>\n",
       "      <th>OC_mode_gearbox_type</th>\n",
       "      <th>OC_mode_displacement</th>\n",
       "      <th>OC_mode_if_charging</th>\n",
       "      <th>...</th>\n",
       "      <th>OC_mode_engine_torque</th>\n",
       "      <th>OC_mode_car_length</th>\n",
       "      <th>OC_mode_car_width</th>\n",
       "      <th>OC_mode_car_height</th>\n",
       "      <th>OC_mode_total_quality</th>\n",
       "      <th>OC_mode_equipment_quality</th>\n",
       "      <th>OC_mode_rated_passenger</th>\n",
       "      <th>OC_mode_wheelbase</th>\n",
       "      <th>OC_mode_front_track</th>\n",
       "      <th>OC_mode_rear_track</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>103507</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.7</td>\n",
       "      <td>4270</td>\n",
       "      <td>1780</td>\n",
       "      <td>1630</td>\n",
       "      <td>1830</td>\n",
       "      <td>1325</td>\n",
       "      <td>5</td>\n",
       "      <td>2590</td>\n",
       "      <td>1557</td>\n",
       "      <td>1570</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>124140</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>230.0</td>\n",
       "      <td>4650</td>\n",
       "      <td>1850</td>\n",
       "      <td>1695</td>\n",
       "      <td>2075</td>\n",
       "      <td>1665</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1565</td>\n",
       "      <td>1565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>125403</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>225.0</td>\n",
       "      <td>5213</td>\n",
       "      <td>1878</td>\n",
       "      <td>1772</td>\n",
       "      <td>2470</td>\n",
       "      <td>1840</td>\n",
       "      <td>7</td>\n",
       "      <td>3088</td>\n",
       "      <td>1593</td>\n",
       "      <td>1601</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>136916</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>4825</td>\n",
       "      <td>1825</td>\n",
       "      <td>1480</td>\n",
       "      <td>2000</td>\n",
       "      <td>1465</td>\n",
       "      <td>5</td>\n",
       "      <td>2775</td>\n",
       "      <td>1575</td>\n",
       "      <td>1560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>169673</td>\n",
       "      <td>682</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>215.0</td>\n",
       "      <td>4715</td>\n",
       "      <td>1830</td>\n",
       "      <td>1780</td>\n",
       "      <td>2095</td>\n",
       "      <td>1570</td>\n",
       "      <td>7</td>\n",
       "      <td>2760</td>\n",
       "      <td>1547</td>\n",
       "      <td>1550</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>175962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>155.0</td>\n",
       "      <td>4473</td>\n",
       "      <td>1706</td>\n",
       "      <td>1469</td>\n",
       "      <td>1600</td>\n",
       "      <td>1120</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>178529</td>\n",
       "      <td>98</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>85.0</td>\n",
       "      <td>3730</td>\n",
       "      <td>1510</td>\n",
       "      <td>1860</td>\n",
       "      <td>1575</td>\n",
       "      <td>985</td>\n",
       "      <td>7</td>\n",
       "      <td>2500</td>\n",
       "      <td>1290</td>\n",
       "      <td>1290</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>186250</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>146.0</td>\n",
       "      <td>4370</td>\n",
       "      <td>1809</td>\n",
       "      <td>1461</td>\n",
       "      <td>1715</td>\n",
       "      <td>1280</td>\n",
       "      <td>5</td>\n",
       "      <td>2662</td>\n",
       "      <td>1540</td>\n",
       "      <td>1562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>194201</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>132.4</td>\n",
       "      <td>4240</td>\n",
       "      <td>1750</td>\n",
       "      <td>1505</td>\n",
       "      <td>1570</td>\n",
       "      <td>1145</td>\n",
       "      <td>5</td>\n",
       "      <td>2600</td>\n",
       "      <td>1524</td>\n",
       "      <td>1529</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>194450</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>265.0</td>\n",
       "      <td>4475</td>\n",
       "      <td>1850</td>\n",
       "      <td>1655</td>\n",
       "      <td>2090</td>\n",
       "      <td>1541</td>\n",
       "      <td>5</td>\n",
       "      <td>2670</td>\n",
       "      <td>1620</td>\n",
       "      <td>1631</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>198427</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>140.0</td>\n",
       "      <td>4547</td>\n",
       "      <td>1734</td>\n",
       "      <td>1470</td>\n",
       "      <td>1620</td>\n",
       "      <td>1210</td>\n",
       "      <td>5</td>\n",
       "      <td>2600</td>\n",
       "      <td>1490</td>\n",
       "      <td>1470</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>206765</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>146.0</td>\n",
       "      <td>4718</td>\n",
       "      <td>1802</td>\n",
       "      <td>1466</td>\n",
       "      <td>1745</td>\n",
       "      <td>1295</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1540</td>\n",
       "      <td>1558</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>209945</td>\n",
       "      <td>814</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>310.0</td>\n",
       "      <td>5055</td>\n",
       "      <td>1860</td>\n",
       "      <td>1491</td>\n",
       "      <td>2250</td>\n",
       "      <td>1790</td>\n",
       "      <td>5</td>\n",
       "      <td>3108</td>\n",
       "      <td>1600</td>\n",
       "      <td>1627</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>219195</td>\n",
       "      <td>638</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>210.0</td>\n",
       "      <td>4335</td>\n",
       "      <td>1814</td>\n",
       "      <td>1695</td>\n",
       "      <td>1910</td>\n",
       "      <td>1495</td>\n",
       "      <td>5</td>\n",
       "      <td>2560</td>\n",
       "      <td>1525</td>\n",
       "      <td>1520</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>221795</td>\n",
       "      <td>872</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4385</td>\n",
       "      <td>1831</td>\n",
       "      <td>1589</td>\n",
       "      <td>2020</td>\n",
       "      <td>1500</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1571</td>\n",
       "      <td>1575</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>245609</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>225.0</td>\n",
       "      <td>4348</td>\n",
       "      <td>1807</td>\n",
       "      <td>1574</td>\n",
       "      <td>1880</td>\n",
       "      <td>1425</td>\n",
       "      <td>5</td>\n",
       "      <td>2680</td>\n",
       "      <td>1549</td>\n",
       "      <td>1521</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>248352</td>\n",
       "      <td>831</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>135.0</td>\n",
       "      <td>4370</td>\n",
       "      <td>1700</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "      <td>1039</td>\n",
       "      <td>5</td>\n",
       "      <td>2570</td>\n",
       "      <td>1511</td>\n",
       "      <td>1515</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>249875</td>\n",
       "      <td>294</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>200.0</td>\n",
       "      <td>4672</td>\n",
       "      <td>1843</td>\n",
       "      <td>1678</td>\n",
       "      <td>2004</td>\n",
       "      <td>1557</td>\n",
       "      <td>5</td>\n",
       "      <td>2705</td>\n",
       "      <td>1597</td>\n",
       "      <td>1589</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>250658</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>252.0</td>\n",
       "      <td>4923</td>\n",
       "      <td>1854</td>\n",
       "      <td>1470</td>\n",
       "      <td>1865</td>\n",
       "      <td>1415</td>\n",
       "      <td>5</td>\n",
       "      <td>2829</td>\n",
       "      <td>1606</td>\n",
       "      <td>1609</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>265980</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>135.0</td>\n",
       "      <td>4360</td>\n",
       "      <td>1685</td>\n",
       "      <td>1820</td>\n",
       "      <td>1925</td>\n",
       "      <td>1325</td>\n",
       "      <td>7-8</td>\n",
       "      <td>2750</td>\n",
       "      <td>1425</td>\n",
       "      <td>1435</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>270690</td>\n",
       "      <td>98</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>146.5</td>\n",
       "      <td>4415</td>\n",
       "      <td>1685</td>\n",
       "      <td>1850</td>\n",
       "      <td>1825</td>\n",
       "      <td>1256</td>\n",
       "      <td>5</td>\n",
       "      <td>2720</td>\n",
       "      <td>1420</td>\n",
       "      <td>1440</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>281301</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4870</td>\n",
       "      <td>1834</td>\n",
       "      <td>1472</td>\n",
       "      <td>2060</td>\n",
       "      <td>1520</td>\n",
       "      <td>5</td>\n",
       "      <td>2803</td>\n",
       "      <td>1577</td>\n",
       "      <td>1550</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>281792</td>\n",
       "      <td>872</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4462</td>\n",
       "      <td>1796</td>\n",
       "      <td>1421</td>\n",
       "      <td>1795</td>\n",
       "      <td>1345</td>\n",
       "      <td>5</td>\n",
       "      <td>2629</td>\n",
       "      <td>1552</td>\n",
       "      <td>1520</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>289386</td>\n",
       "      <td>813</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>148.0</td>\n",
       "      <td>4582</td>\n",
       "      <td>1795</td>\n",
       "      <td>1458</td>\n",
       "      <td>1820</td>\n",
       "      <td>1286</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1555</td>\n",
       "      <td>1560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>289403</td>\n",
       "      <td>12</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.3</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>185.0</td>\n",
       "      <td>4440</td>\n",
       "      <td>1833</td>\n",
       "      <td>1545</td>\n",
       "      <td>1773</td>\n",
       "      <td>1398</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1556</td>\n",
       "      <td>1562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>290854</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>4550</td>\n",
       "      <td>1820</td>\n",
       "      <td>1685</td>\n",
       "      <td>2010</td>\n",
       "      <td>1625</td>\n",
       "      <td>5</td>\n",
       "      <td>2620</td>\n",
       "      <td>1565</td>\n",
       "      <td>1565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>291086</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>4843</td>\n",
       "      <td>1856</td>\n",
       "      <td>1484</td>\n",
       "      <td>2020</td>\n",
       "      <td>1585</td>\n",
       "      <td>5</td>\n",
       "      <td>2737</td>\n",
       "      <td>1585</td>\n",
       "      <td>1588</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>291514</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>160.0</td>\n",
       "      <td>4160</td>\n",
       "      <td>1810</td>\n",
       "      <td>1635</td>\n",
       "      <td>1645</td>\n",
       "      <td>1270</td>\n",
       "      <td>5</td>\n",
       "      <td>2560</td>\n",
       "      <td>1560</td>\n",
       "      <td>1560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>302513</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>143.0</td>\n",
       "      <td>4354</td>\n",
       "      <td>1840</td>\n",
       "      <td>1654</td>\n",
       "      <td>1670</td>\n",
       "      <td>1285</td>\n",
       "      <td>5</td>\n",
       "      <td>2610</td>\n",
       "      <td>1585</td>\n",
       "      <td>1586</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>304458</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>154.0</td>\n",
       "      <td>4630</td>\n",
       "      <td>1775</td>\n",
       "      <td>1480</td>\n",
       "      <td>1770</td>\n",
       "      <td>1305</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1535</td>\n",
       "      <td>1535</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>745137</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>215.0</td>\n",
       "      <td>4534</td>\n",
       "      <td>1823</td>\n",
       "      <td>1483</td>\n",
       "      <td>1712</td>\n",
       "      <td>1337</td>\n",
       "      <td>5</td>\n",
       "      <td>2648</td>\n",
       "      <td>1553</td>\n",
       "      <td>1544</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>750340</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>201.0</td>\n",
       "      <td>4530</td>\n",
       "      <td>1900</td>\n",
       "      <td>1700</td>\n",
       "      <td>1920</td>\n",
       "      <td>1545</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1601</td>\n",
       "      <td>1602</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>112</th>\n",
       "      <td>760412</td>\n",
       "      <td>542</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>155.5</td>\n",
       "      <td>4705</td>\n",
       "      <td>1810</td>\n",
       "      <td>1680</td>\n",
       "      <td>1985</td>\n",
       "      <td>1440</td>\n",
       "      <td>5</td>\n",
       "      <td>2670</td>\n",
       "      <td>1540</td>\n",
       "      <td>1540</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113</th>\n",
       "      <td>786351</td>\n",
       "      <td>836</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>140.0</td>\n",
       "      <td>4570</td>\n",
       "      <td>1775</td>\n",
       "      <td>1445</td>\n",
       "      <td>1642</td>\n",
       "      <td>1267</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1549</td>\n",
       "      <td>1562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>114</th>\n",
       "      <td>789290</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>155.0</td>\n",
       "      <td>4440</td>\n",
       "      <td>1700</td>\n",
       "      <td>1490</td>\n",
       "      <td>1500</td>\n",
       "      <td>1090</td>\n",
       "      <td>5</td>\n",
       "      <td>2550</td>\n",
       "      <td>1460</td>\n",
       "      <td>1460</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>115</th>\n",
       "      <td>810398</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4282</td>\n",
       "      <td>1706</td>\n",
       "      <td>1475</td>\n",
       "      <td>1635</td>\n",
       "      <td>1155</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>116</th>\n",
       "      <td>815230</td>\n",
       "      <td>49</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>199.0</td>\n",
       "      <td>4415</td>\n",
       "      <td>1819</td>\n",
       "      <td>1625</td>\n",
       "      <td>1830</td>\n",
       "      <td>1455</td>\n",
       "      <td>5</td>\n",
       "      <td>2636</td>\n",
       "      <td>1544</td>\n",
       "      <td>1544</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>117</th>\n",
       "      <td>819061</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>245.0</td>\n",
       "      <td>4450</td>\n",
       "      <td>1855</td>\n",
       "      <td>1635</td>\n",
       "      <td>1980</td>\n",
       "      <td>1470</td>\n",
       "      <td>5</td>\n",
       "      <td>2640</td>\n",
       "      <td>1614</td>\n",
       "      <td>1615</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>842246</td>\n",
       "      <td>68</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>400.0</td>\n",
       "      <td>4748</td>\n",
       "      <td>1933</td>\n",
       "      <td>1697</td>\n",
       "      <td>2162</td>\n",
       "      <td>1787</td>\n",
       "      <td>5</td>\n",
       "      <td>2850</td>\n",
       "      <td>1641</td>\n",
       "      <td>1642</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>119</th>\n",
       "      <td>851857</td>\n",
       "      <td>75</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>172.0</td>\n",
       "      <td>4812</td>\n",
       "      <td>1903</td>\n",
       "      <td>1680</td>\n",
       "      <td>2275</td>\n",
       "      <td>1795</td>\n",
       "      <td>5</td>\n",
       "      <td>2857</td>\n",
       "      <td>1645</td>\n",
       "      <td>1645</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>854079</td>\n",
       "      <td>537</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.0</td>\n",
       "      <td>4650</td>\n",
       "      <td>1750</td>\n",
       "      <td>1505</td>\n",
       "      <td>1650</td>\n",
       "      <td>1275</td>\n",
       "      <td>5</td>\n",
       "      <td>2650</td>\n",
       "      <td>1500</td>\n",
       "      <td>1485</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>121</th>\n",
       "      <td>854548</td>\n",
       "      <td>126</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4314</td>\n",
       "      <td>1809</td>\n",
       "      <td>1624</td>\n",
       "      <td>1690</td>\n",
       "      <td>1258</td>\n",
       "      <td>5</td>\n",
       "      <td>2585</td>\n",
       "      <td>1526</td>\n",
       "      <td>1536</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>122</th>\n",
       "      <td>861459</td>\n",
       "      <td>498</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>240.0</td>\n",
       "      <td>4671</td>\n",
       "      <td>1835</td>\n",
       "      <td>1464</td>\n",
       "      <td>1720</td>\n",
       "      <td>1270</td>\n",
       "      <td>5</td>\n",
       "      <td>2715</td>\n",
       "      <td>1562</td>\n",
       "      <td>1571</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>123</th>\n",
       "      <td>871642</td>\n",
       "      <td>637</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>360.0</td>\n",
       "      <td>4524</td>\n",
       "      <td>1838</td>\n",
       "      <td>1685</td>\n",
       "      <td>1967</td>\n",
       "      <td>1592</td>\n",
       "      <td>5</td>\n",
       "      <td>2690</td>\n",
       "      <td>1563</td>\n",
       "      <td>1565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>124</th>\n",
       "      <td>872180</td>\n",
       "      <td>76</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4765</td>\n",
       "      <td>1931</td>\n",
       "      <td>1655</td>\n",
       "      <td>2505</td>\n",
       "      <td>1960</td>\n",
       "      <td>5</td>\n",
       "      <td>2950</td>\n",
       "      <td>1655</td>\n",
       "      <td>1606</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125</th>\n",
       "      <td>883691</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>146.5</td>\n",
       "      <td>4865</td>\n",
       "      <td>1820</td>\n",
       "      <td>1475</td>\n",
       "      <td>2000</td>\n",
       "      <td>1545</td>\n",
       "      <td>5</td>\n",
       "      <td>2812</td>\n",
       "      <td>1552</td>\n",
       "      <td>1551</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>126</th>\n",
       "      <td>890189</td>\n",
       "      <td>290</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>160.0</td>\n",
       "      <td>4220</td>\n",
       "      <td>1740</td>\n",
       "      <td>1625</td>\n",
       "      <td>1580</td>\n",
       "      <td>1206</td>\n",
       "      <td>5</td>\n",
       "      <td>2550</td>\n",
       "      <td>1490</td>\n",
       "      <td>1496</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>127</th>\n",
       "      <td>905061</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>200.0</td>\n",
       "      <td>4810</td>\n",
       "      <td>1795</td>\n",
       "      <td>1730</td>\n",
       "      <td>1950</td>\n",
       "      <td>1460</td>\n",
       "      <td>7</td>\n",
       "      <td>2760</td>\n",
       "      <td>1535</td>\n",
       "      <td>1530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>128</th>\n",
       "      <td>905745</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>155.0</td>\n",
       "      <td>4278</td>\n",
       "      <td>1774</td>\n",
       "      <td>1646</td>\n",
       "      <td>1840</td>\n",
       "      <td>1430</td>\n",
       "      <td>5</td>\n",
       "      <td>2555</td>\n",
       "      <td>1540</td>\n",
       "      <td>1540</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>129</th>\n",
       "      <td>914348</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>3970</td>\n",
       "      <td>1682</td>\n",
       "      <td>1462</td>\n",
       "      <td>1600</td>\n",
       "      <td>1120</td>\n",
       "      <td>5</td>\n",
       "      <td>2470</td>\n",
       "      <td>1463</td>\n",
       "      <td>1456</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>130</th>\n",
       "      <td>923841</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>142.0</td>\n",
       "      <td>4869</td>\n",
       "      <td>1854</td>\n",
       "      <td>1472</td>\n",
       "      <td>1985</td>\n",
       "      <td>1565</td>\n",
       "      <td>5</td>\n",
       "      <td>2737</td>\n",
       "      <td>1585</td>\n",
       "      <td>1587</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>131</th>\n",
       "      <td>924154</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.0</td>\n",
       "      <td>4587</td>\n",
       "      <td>1825</td>\n",
       "      <td>1490</td>\n",
       "      <td>1675</td>\n",
       "      <td>1300</td>\n",
       "      <td>5</td>\n",
       "      <td>2687</td>\n",
       "      <td>1562</td>\n",
       "      <td>1548</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>132</th>\n",
       "      <td>948936</td>\n",
       "      <td>512</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4520</td>\n",
       "      <td>1790</td>\n",
       "      <td>1750</td>\n",
       "      <td>1960</td>\n",
       "      <td>1435</td>\n",
       "      <td>6-7</td>\n",
       "      <td>2700</td>\n",
       "      <td>1450</td>\n",
       "      <td>1480</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>133</th>\n",
       "      <td>950264</td>\n",
       "      <td>498</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>265.0</td>\n",
       "      <td>4545</td>\n",
       "      <td>1855</td>\n",
       "      <td>1690</td>\n",
       "      <td>1876</td>\n",
       "      <td>1501</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1574</td>\n",
       "      <td>1593</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>134</th>\n",
       "      <td>953842</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>198.0</td>\n",
       "      <td>4480</td>\n",
       "      <td>1855</td>\n",
       "      <td>1645</td>\n",
       "      <td>2090</td>\n",
       "      <td>1576</td>\n",
       "      <td>5</td>\n",
       "      <td>2670</td>\n",
       "      <td>1625</td>\n",
       "      <td>1636</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>135</th>\n",
       "      <td>961362</td>\n",
       "      <td>692</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>160.0</td>\n",
       "      <td>4315</td>\n",
       "      <td>1783</td>\n",
       "      <td>1606</td>\n",
       "      <td>1930</td>\n",
       "      <td>1427</td>\n",
       "      <td>5</td>\n",
       "      <td>2630</td>\n",
       "      <td>1540</td>\n",
       "      <td>1545</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>961962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.7</td>\n",
       "      <td>4487</td>\n",
       "      <td>1706</td>\n",
       "      <td>1470</td>\n",
       "      <td>1600</td>\n",
       "      <td>1120</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>137</th>\n",
       "      <td>963845</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>243.0</td>\n",
       "      <td>4270</td>\n",
       "      <td>1780</td>\n",
       "      <td>1622</td>\n",
       "      <td>1752</td>\n",
       "      <td>1341</td>\n",
       "      <td>5</td>\n",
       "      <td>2590</td>\n",
       "      <td>1557</td>\n",
       "      <td>1570</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>138</th>\n",
       "      <td>973106</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>140.0</td>\n",
       "      <td>4816</td>\n",
       "      <td>1942</td>\n",
       "      <td>1669</td>\n",
       "      <td>2180</td>\n",
       "      <td>1708</td>\n",
       "      <td>5</td>\n",
       "      <td>2820</td>\n",
       "      <td>1652</td>\n",
       "      <td>1671</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>139</th>\n",
       "      <td>978089</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4631</td>\n",
       "      <td>1789</td>\n",
       "      <td>1470</td>\n",
       "      <td>1625</td>\n",
       "      <td>1250</td>\n",
       "      <td>5</td>\n",
       "      <td>2650</td>\n",
       "      <td>1502</td>\n",
       "      <td>1492</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>140 rows × 30 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     class_id  brand_id  OC_mode_compartment  OC_mode_type_id  \\\n",
       "0      103507       831                    2                1   \n",
       "1      124140       783                    2                1   \n",
       "2      125403       761                    2                3   \n",
       "3      136916       106                    3                2   \n",
       "4      169673       682                    2                1   \n",
       "5      175962       750                    3                2   \n",
       "6      178529        98                    1                4   \n",
       "7      186250       761                    2                2   \n",
       "8      194201       831                    2                2   \n",
       "9      194450       836                    2                1   \n",
       "10     198427        12                    3                2   \n",
       "11     206765       761                    3                2   \n",
       "12     209945       814                    3                2   \n",
       "13     219195       638                    2                1   \n",
       "14     221795       872                    2                1   \n",
       "15     245609       750                    2                2   \n",
       "16     248352       831                    3                2   \n",
       "17     249875       294                    2                1   \n",
       "18     250658       450                    3                2   \n",
       "19     265980       783                    2                3   \n",
       "20     270690        98                    2                3   \n",
       "21     281301       750                    3                2   \n",
       "22     281792       872                    3                2   \n",
       "23     289386       813                    3                2   \n",
       "24     289403        12                    2                1   \n",
       "25     290854       537                    2                1   \n",
       "26     291086       761                    3                2   \n",
       "27     291514       783                    2                1   \n",
       "28     302513       864                    2                1   \n",
       "29     304458       106                    3                2   \n",
       "..        ...       ...                  ...              ...   \n",
       "110    745137       637                    3                2   \n",
       "111    750340       864                    2                1   \n",
       "112    760412       542                    2                1   \n",
       "113    786351       836                    3                2   \n",
       "114    789290       106                    3                2   \n",
       "115    810398       750                    2                2   \n",
       "116    815230        49                    2                1   \n",
       "117    819061       831                    2                1   \n",
       "118    842246        68                    2                1   \n",
       "119    851857        75                    2                1   \n",
       "120    854079       537                    3                2   \n",
       "121    854548       126                    2                1   \n",
       "122    861459       498                    3                2   \n",
       "123    871642       637                    2                1   \n",
       "124    872180        76                    2                1   \n",
       "125    883691       750                    3                2   \n",
       "126    890189       290                    2                1   \n",
       "127    905061       783                    2                3   \n",
       "128    905745       761                    2                1   \n",
       "129    914348       750                    2                2   \n",
       "130    923841       450                    3                2   \n",
       "131    924154       637                    3                2   \n",
       "132    948936       512                    2                1   \n",
       "133    950264       498                    2                1   \n",
       "134    953842       831                    2                1   \n",
       "135    961362       692                    2                1   \n",
       "136    961962       750                    3                2   \n",
       "137    963845       836                    2                1   \n",
       "138    973106       537                    2                1   \n",
       "139    978089        12                    3                2   \n",
       "\n",
       "     OC_mode_level_id  OC_mode_department_id OC_mode_TR OC_mode_gearbox_type  \\\n",
       "0                 3.0                      3          6                   AT   \n",
       "1                 1.0                      1          6                   AT   \n",
       "2                 2.0                      2          6                   AT   \n",
       "3                 2.0                      5          4                   AT   \n",
       "4                 2.0                      1          6                   MT   \n",
       "5                 1.0                      4          5                   MT   \n",
       "6                 1.0                      1          5                   MT   \n",
       "7                 3.0                      2          6                   AT   \n",
       "8                 1.0                      3          6                   AT   \n",
       "9                 1.0                      3          7                  DCT   \n",
       "10                1.0                      1          5                   MT   \n",
       "11                4.0                      2          6                   AT   \n",
       "12                3.0                      4          8                   AT   \n",
       "13                1.0                      1          6                   MT   \n",
       "14                1.0                      4          6                  DCT   \n",
       "15                3.0                      4          7                  DCT   \n",
       "16                1.0                      3          4                   AT   \n",
       "17                2.0                      6          0                  CVT   \n",
       "18                3.0                      2          7                  DCT   \n",
       "19                3.0                      1          5                   MT   \n",
       "20                2.0                      1          5                   MT   \n",
       "21                1.0                      4          7                  DCT   \n",
       "22                1.0                      4          7                  DCT   \n",
       "23                1.0                      5          6                   AT   \n",
       "24                1.0                      1          6                  DCT   \n",
       "25                2.0                      5          5                   AT   \n",
       "26                3.0                      2          6                   AT   \n",
       "27                3.0                      1          5                   MT   \n",
       "28                1.0                      1          5                   MT   \n",
       "29                1.0                      5          0                  CVT   \n",
       "..                ...                    ...        ...                  ...   \n",
       "110               1.0                      2          6                  DCT   \n",
       "111               1.0                      1          5                   AT   \n",
       "112               1.0                      5          0                  CVT   \n",
       "113               3.0                      3          6                   AT   \n",
       "114               1.0                      5          0                  CVT   \n",
       "115               1.0                      4          6                   AT   \n",
       "116               1.0                      2          7                  DCT   \n",
       "117               2.0                      3          6                   AT   \n",
       "118               2.0                      1          6                  DCT   \n",
       "119               1.0                      2          8                   AT   \n",
       "120               3.0                      5          5                   AT   \n",
       "121               1.0                      1          4                   AT   \n",
       "122               1.0                      1          7                  DCT   \n",
       "123               2.0                      2          6                   AT   \n",
       "124               2.0                      1          7                  DCT   \n",
       "125               3.0                      4          7                  DCT   \n",
       "126               1.0                      7          6                   MT   \n",
       "127               3.0                      1          5                   MT   \n",
       "128               3.0                      2          6                   AT   \n",
       "129               2.0                      4          6                   AT   \n",
       "130               1.0                      2          6                   AT   \n",
       "131               1.0                      2          6                   AT   \n",
       "132               1.0                      1          5                   MT   \n",
       "133               1.0                      1          7                  DCT   \n",
       "134               1.0                      3          7                  DCT   \n",
       "135               1.0                      5          0                  CVT   \n",
       "136               3.0                      4          5                   MT   \n",
       "137               2.0                      3          6                   AT   \n",
       "138               1.0                      5          0                  CVT   \n",
       "139               NaN                      1          5                   MT   \n",
       "\n",
       "     OC_mode_displacement OC_mode_if_charging         ...          \\\n",
       "0                     1.6                   L         ...           \n",
       "1                     1.8                   T         ...           \n",
       "2                     2.4                   L         ...           \n",
       "3                     2.0                   L         ...           \n",
       "4                     1.5                   T         ...           \n",
       "5                     1.6                   L         ...           \n",
       "6                     1.0                   L         ...           \n",
       "7                     1.5                   L         ...           \n",
       "8                     1.4                   L         ...           \n",
       "9                     1.6                   T         ...           \n",
       "10                    1.5                   L         ...           \n",
       "11                    1.5                   L         ...           \n",
       "12                    2.0                   T         ...           \n",
       "13                    1.5                   T         ...           \n",
       "14                    1.4                   T         ...           \n",
       "15                    1.4                   T         ...           \n",
       "16                    1.4                   L         ...           \n",
       "17                    2.0                   L         ...           \n",
       "18                    1.5                   T         ...           \n",
       "19                    1.5                   L         ...           \n",
       "20                    1.5                   L         ...           \n",
       "21                    1.8                   T         ...           \n",
       "22                    1.4                   T         ...           \n",
       "23                    1.5                   L         ...           \n",
       "24                    1.3                   T         ...           \n",
       "25                    2.0                   L         ...           \n",
       "26                    2.0                   L         ...           \n",
       "27                    1.6                   L         ...           \n",
       "28                    1.5                   L         ...           \n",
       "29                    1.6                   L         ...           \n",
       "..                    ...                 ...         ...           \n",
       "110                   1.6                   L         ...           \n",
       "111                   1.5                   T         ...           \n",
       "112                   2.0                   L         ...           \n",
       "113                   1.6                   L         ...           \n",
       "114                   1.5                   L         ...           \n",
       "115                   1.6                   L         ...           \n",
       "116                   1.4                   T         ...           \n",
       "117                   2.0                   L         ...           \n",
       "118                   1.8                   T         ...           \n",
       "119                   2.0                   T         ...           \n",
       "120                   1.8                   L         ...           \n",
       "121                   1.5                   L         ...           \n",
       "122                   1.5                   T         ...           \n",
       "123                   1.5                   T         ...           \n",
       "124                   2.0                   T         ...           \n",
       "125                   1.8                   T         ...           \n",
       "126                   1.5                   L         ...           \n",
       "127                   1.6                   L         ...           \n",
       "128                   1.4                   T         ...           \n",
       "129                   1.6                   L         ...           \n",
       "130                   2.0                   L         ...           \n",
       "131                   1.5                   L         ...           \n",
       "132                   1.5                   L         ...           \n",
       "133                   1.5                   T         ...           \n",
       "134                   1.6                   T         ...           \n",
       "135                   2.0                   L         ...           \n",
       "136                   1.6                   L         ...           \n",
       "137                   1.6                   L         ...           \n",
       "138                   1.5                   T         ...           \n",
       "139                   1.5                   L         ...           \n",
       "\n",
       "     OC_mode_engine_torque  OC_mode_car_length  OC_mode_car_width  \\\n",
       "0                    150.7                4270               1780   \n",
       "1                    230.0                4650               1850   \n",
       "2                    225.0                5213               1878   \n",
       "3                    190.0                4825               1825   \n",
       "4                    215.0                4715               1830   \n",
       "5                    155.0                4473               1706   \n",
       "6                     85.0                3730               1510   \n",
       "7                    146.0                4370               1809   \n",
       "8                    132.4                4240               1750   \n",
       "9                    265.0                4475               1850   \n",
       "10                   140.0                4547               1734   \n",
       "11                   146.0                4718               1802   \n",
       "12                   310.0                5055               1860   \n",
       "13                   210.0                4335               1814   \n",
       "14                   250.0                4385               1831   \n",
       "15                   225.0                4348               1807   \n",
       "16                   135.0                4370               1700   \n",
       "17                   200.0                4672               1843   \n",
       "18                   252.0                4923               1854   \n",
       "19                   135.0                4360               1685   \n",
       "20                   146.5                4415               1685   \n",
       "21                   250.0                4870               1834   \n",
       "22                   250.0                4462               1796   \n",
       "23                   148.0                4582               1795   \n",
       "24                   185.0                4440               1833   \n",
       "25                   190.0                4550               1820   \n",
       "26                   190.0                4843               1856   \n",
       "27                   160.0                4160               1810   \n",
       "28                   143.0                4354               1840   \n",
       "29                   154.0                4630               1775   \n",
       "..                     ...                 ...                ...   \n",
       "110                  215.0                4534               1823   \n",
       "111                  201.0                4530               1900   \n",
       "112                  155.5                4705               1810   \n",
       "113                  140.0                4570               1775   \n",
       "114                  155.0                4440               1700   \n",
       "115                  250.0                4282               1706   \n",
       "116                  199.0                4415               1819   \n",
       "117                  245.0                4450               1855   \n",
       "118                  400.0                4748               1933   \n",
       "119                  172.0                4812               1903   \n",
       "120                  150.0                4650               1750   \n",
       "121                  250.0                4314               1809   \n",
       "122                  240.0                4671               1835   \n",
       "123                  360.0                4524               1838   \n",
       "124                  250.0                4765               1931   \n",
       "125                  146.5                4865               1820   \n",
       "126                  160.0                4220               1740   \n",
       "127                  200.0                4810               1795   \n",
       "128                  155.0                4278               1774   \n",
       "129                  190.0                3970               1682   \n",
       "130                  142.0                4869               1854   \n",
       "131                  150.0                4587               1825   \n",
       "132                  250.0                4520               1790   \n",
       "133                  265.0                4545               1855   \n",
       "134                  198.0                4480               1855   \n",
       "135                  160.0                4315               1783   \n",
       "136                  150.7                4487               1706   \n",
       "137                  243.0                4270               1780   \n",
       "138                  140.0                4816               1942   \n",
       "139                    NaN                4631               1789   \n",
       "\n",
       "     OC_mode_car_height  OC_mode_total_quality  OC_mode_equipment_quality  \\\n",
       "0                  1630                   1830                       1325   \n",
       "1                  1695                   2075                       1665   \n",
       "2                  1772                   2470                       1840   \n",
       "3                  1480                   2000                       1465   \n",
       "4                  1780                   2095                       1570   \n",
       "5                  1469                   1600                       1120   \n",
       "6                  1860                   1575                        985   \n",
       "7                  1461                   1715                       1280   \n",
       "8                  1505                   1570                       1145   \n",
       "9                  1655                   2090                       1541   \n",
       "10                 1470                   1620                       1210   \n",
       "11                 1466                   1745                       1295   \n",
       "12                 1491                   2250                       1790   \n",
       "13                 1695                   1910                       1495   \n",
       "14                 1589                   2020                       1500   \n",
       "15                 1574                   1880                       1425   \n",
       "16                 1460                   1500                       1039   \n",
       "17                 1678                   2004                       1557   \n",
       "18                 1470                   1865                       1415   \n",
       "19                 1820                   1925                       1325   \n",
       "20                 1850                   1825                       1256   \n",
       "21                 1472                   2060                       1520   \n",
       "22                 1421                   1795                       1345   \n",
       "23                 1458                   1820                       1286   \n",
       "24                 1545                   1773                       1398   \n",
       "25                 1685                   2010                       1625   \n",
       "26                 1484                   2020                       1585   \n",
       "27                 1635                   1645                       1270   \n",
       "28                 1654                   1670                       1285   \n",
       "29                 1480                   1770                       1305   \n",
       "..                  ...                    ...                        ...   \n",
       "110                1483                   1712                       1337   \n",
       "111                1700                   1920                       1545   \n",
       "112                1680                   1985                       1440   \n",
       "113                1445                   1642                       1267   \n",
       "114                1490                   1500                       1090   \n",
       "115                1475                   1635                       1155   \n",
       "116                1625                   1830                       1455   \n",
       "117                1635                   1980                       1470   \n",
       "118                1697                   2162                       1787   \n",
       "119                1680                   2275                       1795   \n",
       "120                1505                   1650                       1275   \n",
       "121                1624                   1690                       1258   \n",
       "122                1464                   1720                       1270   \n",
       "123                1685                   1967                       1592   \n",
       "124                1655                   2505                       1960   \n",
       "125                1475                   2000                       1545   \n",
       "126                1625                   1580                       1206   \n",
       "127                1730                   1950                       1460   \n",
       "128                1646                   1840                       1430   \n",
       "129                1462                   1600                       1120   \n",
       "130                1472                   1985                       1565   \n",
       "131                1490                   1675                       1300   \n",
       "132                1750                   1960                       1435   \n",
       "133                1690                   1876                       1501   \n",
       "134                1645                   2090                       1576   \n",
       "135                1606                   1930                       1427   \n",
       "136                1470                   1600                       1120   \n",
       "137                1622                   1752                       1341   \n",
       "138                1669                   2180                       1708   \n",
       "139                1470                   1625                       1250   \n",
       "\n",
       "     OC_mode_rated_passenger  OC_mode_wheelbase  OC_mode_front_track  \\\n",
       "0                          5               2590                 1557   \n",
       "1                          5               2700                 1565   \n",
       "2                          7               3088                 1593   \n",
       "3                          5               2775                 1575   \n",
       "4                          7               2760                 1547   \n",
       "5                          5               2603                 1460   \n",
       "6                          7               2500                 1290   \n",
       "7                          5               2662                 1540   \n",
       "8                          5               2600                 1524   \n",
       "9                          5               2670                 1620   \n",
       "10                         5               2600                 1490   \n",
       "11                         5               2700                 1540   \n",
       "12                         5               3108                 1600   \n",
       "13                         5               2560                 1525   \n",
       "14                         5               2603                 1571   \n",
       "15                         5               2680                 1549   \n",
       "16                         5               2570                 1511   \n",
       "17                         5               2705                 1597   \n",
       "18                         5               2829                 1606   \n",
       "19                       7-8               2750                 1425   \n",
       "20                         5               2720                 1420   \n",
       "21                         5               2803                 1577   \n",
       "22                         5               2629                 1552   \n",
       "23                         5               2700                 1555   \n",
       "24                         5               2700                 1556   \n",
       "25                         5               2620                 1565   \n",
       "26                         5               2737                 1585   \n",
       "27                         5               2560                 1560   \n",
       "28                         5               2610                 1585   \n",
       "29                         5               2700                 1535   \n",
       "..                       ...                ...                  ...   \n",
       "110                        5               2648                 1553   \n",
       "111                        5               2700                 1601   \n",
       "112                        5               2670                 1540   \n",
       "113                        5               2700                 1549   \n",
       "114                        5               2550                 1460   \n",
       "115                        5               2603                 1460   \n",
       "116                        5               2636                 1544   \n",
       "117                        5               2640                 1614   \n",
       "118                        5               2850                 1641   \n",
       "119                        5               2857                 1645   \n",
       "120                        5               2650                 1500   \n",
       "121                        5               2585                 1526   \n",
       "122                        5               2715                 1562   \n",
       "123                        5               2690                 1563   \n",
       "124                        5               2950                 1655   \n",
       "125                        5               2812                 1552   \n",
       "126                        5               2550                 1490   \n",
       "127                        7               2760                 1535   \n",
       "128                        5               2555                 1540   \n",
       "129                        5               2470                 1463   \n",
       "130                        5               2737                 1585   \n",
       "131                        5               2687                 1562   \n",
       "132                      6-7               2700                 1450   \n",
       "133                        5               2700                 1574   \n",
       "134                        5               2670                 1625   \n",
       "135                        5               2630                 1540   \n",
       "136                        5               2603                 1460   \n",
       "137                        5               2590                 1557   \n",
       "138                        5               2820                 1652   \n",
       "139                        5               2650                 1502   \n",
       "\n",
       "     OC_mode_rear_track  \n",
       "0                  1570  \n",
       "1                  1565  \n",
       "2                  1601  \n",
       "3                  1560  \n",
       "4                  1550  \n",
       "5                  1500  \n",
       "6                  1290  \n",
       "7                  1562  \n",
       "8                  1529  \n",
       "9                  1631  \n",
       "10                 1470  \n",
       "11                 1558  \n",
       "12                 1627  \n",
       "13                 1520  \n",
       "14                 1575  \n",
       "15                 1521  \n",
       "16                 1515  \n",
       "17                 1589  \n",
       "18                 1609  \n",
       "19                 1435  \n",
       "20                 1440  \n",
       "21                 1550  \n",
       "22                 1520  \n",
       "23                 1560  \n",
       "24                 1562  \n",
       "25                 1565  \n",
       "26                 1588  \n",
       "27                 1560  \n",
       "28                 1586  \n",
       "29                 1535  \n",
       "..                  ...  \n",
       "110                1544  \n",
       "111                1602  \n",
       "112                1540  \n",
       "113                1562  \n",
       "114                1460  \n",
       "115                1500  \n",
       "116                1544  \n",
       "117                1615  \n",
       "118                1642  \n",
       "119                1645  \n",
       "120                1485  \n",
       "121                1536  \n",
       "122                1571  \n",
       "123                1565  \n",
       "124                1606  \n",
       "125                1551  \n",
       "126                1496  \n",
       "127                1530  \n",
       "128                1540  \n",
       "129                1456  \n",
       "130                1587  \n",
       "131                1548  \n",
       "132                1480  \n",
       "133                1593  \n",
       "134                1636  \n",
       "135                1545  \n",
       "136                1500  \n",
       "137                1570  \n",
       "138                1671  \n",
       "139                1492  \n",
       "\n",
       "[140 rows x 30 columns]"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 咱这里所谓的众数 【OC_mode_XXX】\n",
    "modes = df[['class_id','brand_id']].groupby('class_id').first().reset_index()\n",
    "for col_name in df.drop(['class_id','sale_date','sale_quantity','brand_id'], axis=1).columns.values:\n",
    "    gd = df.groupby(['class_id',col_name]).sum().sort_values(ascending=False, by=['sale_quantity']).reset_index()\n",
    "    modes['OC_mode_' + col_name] = gd.groupby('class_id').first().reset_index()[col_name]\n",
    "\n",
    "modes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 下面所提到的ndf，为new df的简称，意为依据指定的特征构造出来的新数据集\n",
    "# 车型各种信息的统计量\n",
    "# 【注意】这里要先drop掉sale_quantity，因为实际测试时不可能有这个字段的统计量的！！\n",
    "# 【扯淡！】这里的所谓sale_quantity，在进行统计时，意义其实是历史上的销量，是可以存在的！！因为最后测试集也是直接拿这个ndf过去join，实际上是取历史销量的信息！是可以有的！\n",
    "# ndf = df.drop('sale_quantity', axis=1).groupby('class_id').describe()\n",
    "ndf = df[['class_id',  'price','price_level','sale_quantity','displacement',\n",
    "          'power','cylinder_number','engine_torque','car_length',\n",
    "          'car_height','car_width','total_quality','equipment_quality','wheelbase',\n",
    "          'front_track','rear_track']].groupby('class_id').describe()\n",
    "\n",
    "# 车型销量总数\n",
    "ndf['sale_quantity_total'] = df.groupby('class_id')['sale_quantity'].sum()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "# 统计每个月有多少个车型在售\n",
    "selling_cls_in_month = df[['sale_date', 'class_id']].groupby(['sale_date', 'class_id']).size().unstack()\n",
    "# 这个基础上count一下，就是每个车型一共有多少个月有售\n",
    "OC_sale_month_cnt = selling_cls_in_month.count()\n",
    "\n",
    "# 该车型月均销售量\n",
    "# OC_month_sale_avg = ndf['sale_quantity_total'] / OC_sale_month_cnt\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\xiao\\Anaconda3\\lib\\site-packages\\pandas\\core\\reshape\\merge.py:551: UserWarning: merging between different levels can give an unintended result (1 levels on the left, 2 on the right)\n",
      "  warnings.warn(msg, UserWarning)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>class_id</th>\n",
       "      <th>brand_id</th>\n",
       "      <th>OC_mode_compartment</th>\n",
       "      <th>OC_mode_type_id</th>\n",
       "      <th>OC_mode_level_id</th>\n",
       "      <th>OC_mode_department_id</th>\n",
       "      <th>OC_mode_TR</th>\n",
       "      <th>OC_mode_gearbox_type</th>\n",
       "      <th>OC_mode_displacement</th>\n",
       "      <th>OC_mode_if_charging</th>\n",
       "      <th>...</th>\n",
       "      <th>(wheelbase, mean)</th>\n",
       "      <th>(wheelbase, std)</th>\n",
       "      <th>(wheelbase, min)</th>\n",
       "      <th>(wheelbase, 25%)</th>\n",
       "      <th>(wheelbase, 50%)</th>\n",
       "      <th>(wheelbase, 75%)</th>\n",
       "      <th>(wheelbase, max)</th>\n",
       "      <th>(sale_quantity_total, )</th>\n",
       "      <th>OC_sale_month_cnt</th>\n",
       "      <th>OC_month_sale_avg</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>103507</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2590.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>17085</td>\n",
       "      <td>32</td>\n",
       "      <td>533.906250</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>124140</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>11237</td>\n",
       "      <td>42</td>\n",
       "      <td>267.547619</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>125403</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>3088.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>12280</td>\n",
       "      <td>70</td>\n",
       "      <td>175.428571</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>136916</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2775.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>21847</td>\n",
       "      <td>70</td>\n",
       "      <td>312.100000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>169673</td>\n",
       "      <td>682</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2760.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>581</td>\n",
       "      <td>5</td>\n",
       "      <td>116.200000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>175962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2603.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>20644</td>\n",
       "      <td>59</td>\n",
       "      <td>349.898305</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>178529</td>\n",
       "      <td>98</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2557.046980</td>\n",
       "      <td>105.092573</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>41205</td>\n",
       "      <td>70</td>\n",
       "      <td>588.642857</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>186250</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2662.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2702</td>\n",
       "      <td>21</td>\n",
       "      <td>128.666667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>194201</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2600.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>617</td>\n",
       "      <td>2</td>\n",
       "      <td>308.500000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>194450</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2646.904762</td>\n",
       "      <td>19.818106</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>7588</td>\n",
       "      <td>69</td>\n",
       "      <td>109.971014</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>198427</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2600.545455</td>\n",
       "      <td>0.896564</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2602.0</td>\n",
       "      <td>2602.0</td>\n",
       "      <td>4126</td>\n",
       "      <td>53</td>\n",
       "      <td>77.849057</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>206765</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>36209</td>\n",
       "      <td>28</td>\n",
       "      <td>1293.178571</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>209945</td>\n",
       "      <td>814</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>3108.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>21596</td>\n",
       "      <td>70</td>\n",
       "      <td>308.514286</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>219195</td>\n",
       "      <td>638</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2560.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>8315</td>\n",
       "      <td>39</td>\n",
       "      <td>213.205128</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>221795</td>\n",
       "      <td>872</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2603.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>13056</td>\n",
       "      <td>55</td>\n",
       "      <td>237.381818</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>245609</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2680.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>1930</td>\n",
       "      <td>19</td>\n",
       "      <td>101.578947</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>248352</td>\n",
       "      <td>831</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2572.097458</td>\n",
       "      <td>7.658241</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>65103</td>\n",
       "      <td>70</td>\n",
       "      <td>930.042857</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>249875</td>\n",
       "      <td>294</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2705.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>1638</td>\n",
       "      <td>12</td>\n",
       "      <td>136.500000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>250658</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2829.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2807</td>\n",
       "      <td>20</td>\n",
       "      <td>140.350000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>265980</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2750.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>19809</td>\n",
       "      <td>69</td>\n",
       "      <td>287.086957</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>270690</td>\n",
       "      <td>98</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2720.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>32539</td>\n",
       "      <td>34</td>\n",
       "      <td>957.029412</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>281301</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2803.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>51494</td>\n",
       "      <td>70</td>\n",
       "      <td>735.628571</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>281792</td>\n",
       "      <td>872</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2629.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>11888</td>\n",
       "      <td>41</td>\n",
       "      <td>289.951220</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>289386</td>\n",
       "      <td>813</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>14052</td>\n",
       "      <td>41</td>\n",
       "      <td>342.731707</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>289403</td>\n",
       "      <td>12</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.3</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>3865</td>\n",
       "      <td>18</td>\n",
       "      <td>214.722222</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>290854</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2621.473684</td>\n",
       "      <td>7.544894</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2660.0</td>\n",
       "      <td>19276</td>\n",
       "      <td>70</td>\n",
       "      <td>275.371429</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>291086</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2739.225806</td>\n",
       "      <td>14.164356</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>52846</td>\n",
       "      <td>70</td>\n",
       "      <td>754.942857</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>291514</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2560.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>5565</td>\n",
       "      <td>60</td>\n",
       "      <td>92.750000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>302513</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2610.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>1639</td>\n",
       "      <td>12</td>\n",
       "      <td>136.583333</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>304458</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2669.164265</td>\n",
       "      <td>46.248188</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>26522</td>\n",
       "      <td>70</td>\n",
       "      <td>378.885714</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>745137</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2648.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>53411</td>\n",
       "      <td>66</td>\n",
       "      <td>809.257576</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>750340</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>3982</td>\n",
       "      <td>28</td>\n",
       "      <td>142.214286</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>112</th>\n",
       "      <td>760412</td>\n",
       "      <td>542</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2670.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>374</td>\n",
       "      <td>10</td>\n",
       "      <td>37.400000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113</th>\n",
       "      <td>786351</td>\n",
       "      <td>836</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>34591</td>\n",
       "      <td>62</td>\n",
       "      <td>557.919355</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>114</th>\n",
       "      <td>789290</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2550.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>310</td>\n",
       "      <td>8</td>\n",
       "      <td>38.750000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>115</th>\n",
       "      <td>810398</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2603.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2066</td>\n",
       "      <td>27</td>\n",
       "      <td>76.518519</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>116</th>\n",
       "      <td>815230</td>\n",
       "      <td>49</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2636.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>1505</td>\n",
       "      <td>10</td>\n",
       "      <td>150.500000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>117</th>\n",
       "      <td>819061</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2640.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>46653</td>\n",
       "      <td>70</td>\n",
       "      <td>666.471429</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>842246</td>\n",
       "      <td>68</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2850.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>772</td>\n",
       "      <td>5</td>\n",
       "      <td>154.400000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>119</th>\n",
       "      <td>851857</td>\n",
       "      <td>75</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2857.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>3401</td>\n",
       "      <td>19</td>\n",
       "      <td>179.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>854079</td>\n",
       "      <td>537</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2650.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>14687</td>\n",
       "      <td>52</td>\n",
       "      <td>282.442308</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>121</th>\n",
       "      <td>854548</td>\n",
       "      <td>126</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2585.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>761</td>\n",
       "      <td>8</td>\n",
       "      <td>95.125000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>122</th>\n",
       "      <td>861459</td>\n",
       "      <td>498</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2715.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>1672</td>\n",
       "      <td>8</td>\n",
       "      <td>209.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>123</th>\n",
       "      <td>871642</td>\n",
       "      <td>637</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2682.215569</td>\n",
       "      <td>18.182515</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>9571</td>\n",
       "      <td>54</td>\n",
       "      <td>177.240741</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>124</th>\n",
       "      <td>872180</td>\n",
       "      <td>76</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2950.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>543</td>\n",
       "      <td>4</td>\n",
       "      <td>135.750000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125</th>\n",
       "      <td>883691</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2823.154229</td>\n",
       "      <td>23.159255</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2871.0</td>\n",
       "      <td>20034</td>\n",
       "      <td>70</td>\n",
       "      <td>286.200000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>126</th>\n",
       "      <td>890189</td>\n",
       "      <td>290</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2550.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>8609</td>\n",
       "      <td>10</td>\n",
       "      <td>860.900000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>127</th>\n",
       "      <td>905061</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2760.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>628</td>\n",
       "      <td>4</td>\n",
       "      <td>157.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>128</th>\n",
       "      <td>905745</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2555.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>10367</td>\n",
       "      <td>60</td>\n",
       "      <td>172.783333</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>129</th>\n",
       "      <td>914348</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2469.621749</td>\n",
       "      <td>1.367774</td>\n",
       "      <td>2460.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>35408</td>\n",
       "      <td>70</td>\n",
       "      <td>505.828571</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>130</th>\n",
       "      <td>923841</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2737.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>39851</td>\n",
       "      <td>68</td>\n",
       "      <td>586.044118</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>131</th>\n",
       "      <td>924154</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2687.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>34001</td>\n",
       "      <td>34</td>\n",
       "      <td>1000.029412</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>132</th>\n",
       "      <td>948936</td>\n",
       "      <td>512</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>1332</td>\n",
       "      <td>13</td>\n",
       "      <td>102.461538</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>133</th>\n",
       "      <td>950264</td>\n",
       "      <td>498</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>12293</td>\n",
       "      <td>16</td>\n",
       "      <td>768.312500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>134</th>\n",
       "      <td>953842</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2670.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>19403</td>\n",
       "      <td>21</td>\n",
       "      <td>923.952381</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>135</th>\n",
       "      <td>961362</td>\n",
       "      <td>692</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2633.495798</td>\n",
       "      <td>6.625451</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2646.0</td>\n",
       "      <td>4946</td>\n",
       "      <td>70</td>\n",
       "      <td>70.657143</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>961962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2592.436937</td>\n",
       "      <td>36.155310</td>\n",
       "      <td>2471.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2604.0</td>\n",
       "      <td>8849</td>\n",
       "      <td>70</td>\n",
       "      <td>126.414286</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>137</th>\n",
       "      <td>963845</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2590.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>10102</td>\n",
       "      <td>37</td>\n",
       "      <td>273.027027</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>138</th>\n",
       "      <td>973106</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2820.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>1393</td>\n",
       "      <td>12</td>\n",
       "      <td>116.083333</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>139</th>\n",
       "      <td>978089</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2650.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>20605</td>\n",
       "      <td>39</td>\n",
       "      <td>528.333333</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>140 rows × 153 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     class_id  brand_id  OC_mode_compartment  OC_mode_type_id  \\\n",
       "0      103507       831                    2                1   \n",
       "1      124140       783                    2                1   \n",
       "2      125403       761                    2                3   \n",
       "3      136916       106                    3                2   \n",
       "4      169673       682                    2                1   \n",
       "5      175962       750                    3                2   \n",
       "6      178529        98                    1                4   \n",
       "7      186250       761                    2                2   \n",
       "8      194201       831                    2                2   \n",
       "9      194450       836                    2                1   \n",
       "10     198427        12                    3                2   \n",
       "11     206765       761                    3                2   \n",
       "12     209945       814                    3                2   \n",
       "13     219195       638                    2                1   \n",
       "14     221795       872                    2                1   \n",
       "15     245609       750                    2                2   \n",
       "16     248352       831                    3                2   \n",
       "17     249875       294                    2                1   \n",
       "18     250658       450                    3                2   \n",
       "19     265980       783                    2                3   \n",
       "20     270690        98                    2                3   \n",
       "21     281301       750                    3                2   \n",
       "22     281792       872                    3                2   \n",
       "23     289386       813                    3                2   \n",
       "24     289403        12                    2                1   \n",
       "25     290854       537                    2                1   \n",
       "26     291086       761                    3                2   \n",
       "27     291514       783                    2                1   \n",
       "28     302513       864                    2                1   \n",
       "29     304458       106                    3                2   \n",
       "..        ...       ...                  ...              ...   \n",
       "110    745137       637                    3                2   \n",
       "111    750340       864                    2                1   \n",
       "112    760412       542                    2                1   \n",
       "113    786351       836                    3                2   \n",
       "114    789290       106                    3                2   \n",
       "115    810398       750                    2                2   \n",
       "116    815230        49                    2                1   \n",
       "117    819061       831                    2                1   \n",
       "118    842246        68                    2                1   \n",
       "119    851857        75                    2                1   \n",
       "120    854079       537                    3                2   \n",
       "121    854548       126                    2                1   \n",
       "122    861459       498                    3                2   \n",
       "123    871642       637                    2                1   \n",
       "124    872180        76                    2                1   \n",
       "125    883691       750                    3                2   \n",
       "126    890189       290                    2                1   \n",
       "127    905061       783                    2                3   \n",
       "128    905745       761                    2                1   \n",
       "129    914348       750                    2                2   \n",
       "130    923841       450                    3                2   \n",
       "131    924154       637                    3                2   \n",
       "132    948936       512                    2                1   \n",
       "133    950264       498                    2                1   \n",
       "134    953842       831                    2                1   \n",
       "135    961362       692                    2                1   \n",
       "136    961962       750                    3                2   \n",
       "137    963845       836                    2                1   \n",
       "138    973106       537                    2                1   \n",
       "139    978089        12                    3                2   \n",
       "\n",
       "     OC_mode_level_id  OC_mode_department_id OC_mode_TR OC_mode_gearbox_type  \\\n",
       "0                 3.0                      3          6                   AT   \n",
       "1                 1.0                      1          6                   AT   \n",
       "2                 2.0                      2          6                   AT   \n",
       "3                 2.0                      5          4                   AT   \n",
       "4                 2.0                      1          6                   MT   \n",
       "5                 1.0                      4          5                   MT   \n",
       "6                 1.0                      1          5                   MT   \n",
       "7                 3.0                      2          6                   AT   \n",
       "8                 1.0                      3          6                   AT   \n",
       "9                 1.0                      3          7                  DCT   \n",
       "10                1.0                      1          5                   MT   \n",
       "11                4.0                      2          6                   AT   \n",
       "12                3.0                      4          8                   AT   \n",
       "13                1.0                      1          6                   MT   \n",
       "14                1.0                      4          6                  DCT   \n",
       "15                3.0                      4          7                  DCT   \n",
       "16                1.0                      3          4                   AT   \n",
       "17                2.0                      6          0                  CVT   \n",
       "18                3.0                      2          7                  DCT   \n",
       "19                3.0                      1          5                   MT   \n",
       "20                2.0                      1          5                   MT   \n",
       "21                1.0                      4          7                  DCT   \n",
       "22                1.0                      4          7                  DCT   \n",
       "23                1.0                      5          6                   AT   \n",
       "24                1.0                      1          6                  DCT   \n",
       "25                2.0                      5          5                   AT   \n",
       "26                3.0                      2          6                   AT   \n",
       "27                3.0                      1          5                   MT   \n",
       "28                1.0                      1          5                   MT   \n",
       "29                1.0                      5          0                  CVT   \n",
       "..                ...                    ...        ...                  ...   \n",
       "110               1.0                      2          6                  DCT   \n",
       "111               1.0                      1          5                   AT   \n",
       "112               1.0                      5          0                  CVT   \n",
       "113               3.0                      3          6                   AT   \n",
       "114               1.0                      5          0                  CVT   \n",
       "115               1.0                      4          6                   AT   \n",
       "116               1.0                      2          7                  DCT   \n",
       "117               2.0                      3          6                   AT   \n",
       "118               2.0                      1          6                  DCT   \n",
       "119               1.0                      2          8                   AT   \n",
       "120               3.0                      5          5                   AT   \n",
       "121               1.0                      1          4                   AT   \n",
       "122               1.0                      1          7                  DCT   \n",
       "123               2.0                      2          6                   AT   \n",
       "124               2.0                      1          7                  DCT   \n",
       "125               3.0                      4          7                  DCT   \n",
       "126               1.0                      7          6                   MT   \n",
       "127               3.0                      1          5                   MT   \n",
       "128               3.0                      2          6                   AT   \n",
       "129               2.0                      4          6                   AT   \n",
       "130               1.0                      2          6                   AT   \n",
       "131               1.0                      2          6                   AT   \n",
       "132               1.0                      1          5                   MT   \n",
       "133               1.0                      1          7                  DCT   \n",
       "134               1.0                      3          7                  DCT   \n",
       "135               1.0                      5          0                  CVT   \n",
       "136               3.0                      4          5                   MT   \n",
       "137               2.0                      3          6                   AT   \n",
       "138               1.0                      5          0                  CVT   \n",
       "139               NaN                      1          5                   MT   \n",
       "\n",
       "     OC_mode_displacement OC_mode_if_charging        ...          \\\n",
       "0                     1.6                   L        ...           \n",
       "1                     1.8                   T        ...           \n",
       "2                     2.4                   L        ...           \n",
       "3                     2.0                   L        ...           \n",
       "4                     1.5                   T        ...           \n",
       "5                     1.6                   L        ...           \n",
       "6                     1.0                   L        ...           \n",
       "7                     1.5                   L        ...           \n",
       "8                     1.4                   L        ...           \n",
       "9                     1.6                   T        ...           \n",
       "10                    1.5                   L        ...           \n",
       "11                    1.5                   L        ...           \n",
       "12                    2.0                   T        ...           \n",
       "13                    1.5                   T        ...           \n",
       "14                    1.4                   T        ...           \n",
       "15                    1.4                   T        ...           \n",
       "16                    1.4                   L        ...           \n",
       "17                    2.0                   L        ...           \n",
       "18                    1.5                   T        ...           \n",
       "19                    1.5                   L        ...           \n",
       "20                    1.5                   L        ...           \n",
       "21                    1.8                   T        ...           \n",
       "22                    1.4                   T        ...           \n",
       "23                    1.5                   L        ...           \n",
       "24                    1.3                   T        ...           \n",
       "25                    2.0                   L        ...           \n",
       "26                    2.0                   L        ...           \n",
       "27                    1.6                   L        ...           \n",
       "28                    1.5                   L        ...           \n",
       "29                    1.6                   L        ...           \n",
       "..                    ...                 ...        ...           \n",
       "110                   1.6                   L        ...           \n",
       "111                   1.5                   T        ...           \n",
       "112                   2.0                   L        ...           \n",
       "113                   1.6                   L        ...           \n",
       "114                   1.5                   L        ...           \n",
       "115                   1.6                   L        ...           \n",
       "116                   1.4                   T        ...           \n",
       "117                   2.0                   L        ...           \n",
       "118                   1.8                   T        ...           \n",
       "119                   2.0                   T        ...           \n",
       "120                   1.8                   L        ...           \n",
       "121                   1.5                   L        ...           \n",
       "122                   1.5                   T        ...           \n",
       "123                   1.5                   T        ...           \n",
       "124                   2.0                   T        ...           \n",
       "125                   1.8                   T        ...           \n",
       "126                   1.5                   L        ...           \n",
       "127                   1.6                   L        ...           \n",
       "128                   1.4                   T        ...           \n",
       "129                   1.6                   L        ...           \n",
       "130                   2.0                   L        ...           \n",
       "131                   1.5                   L        ...           \n",
       "132                   1.5                   L        ...           \n",
       "133                   1.5                   T        ...           \n",
       "134                   1.6                   T        ...           \n",
       "135                   2.0                   L        ...           \n",
       "136                   1.6                   L        ...           \n",
       "137                   1.6                   L        ...           \n",
       "138                   1.5                   T        ...           \n",
       "139                   1.5                   L        ...           \n",
       "\n",
       "     (wheelbase, mean)  (wheelbase, std)  (wheelbase, min)  (wheelbase, 25%)  \\\n",
       "0          2590.000000          0.000000            2590.0            2590.0   \n",
       "1          2700.000000          0.000000            2700.0            2700.0   \n",
       "2          3088.000000          0.000000            3088.0            3088.0   \n",
       "3          2775.000000          0.000000            2775.0            2775.0   \n",
       "4          2760.000000          0.000000            2760.0            2760.0   \n",
       "5          2603.000000          0.000000            2603.0            2603.0   \n",
       "6          2557.046980        105.092573            2500.0            2500.0   \n",
       "7          2662.000000          0.000000            2662.0            2662.0   \n",
       "8          2600.000000          0.000000            2600.0            2600.0   \n",
       "9          2646.904762         19.818106            2630.0            2630.0   \n",
       "10         2600.545455          0.896564            2600.0            2600.0   \n",
       "11         2700.000000          0.000000            2700.0            2700.0   \n",
       "12         3108.000000          0.000000            3108.0            3108.0   \n",
       "13         2560.000000          0.000000            2560.0            2560.0   \n",
       "14         2603.000000          0.000000            2603.0            2603.0   \n",
       "15         2680.000000          0.000000            2680.0            2680.0   \n",
       "16         2572.097458          7.658241            2570.0            2570.0   \n",
       "17         2705.000000          0.000000            2705.0            2705.0   \n",
       "18         2829.000000          0.000000            2829.0            2829.0   \n",
       "19         2750.000000          0.000000            2750.0            2750.0   \n",
       "20         2720.000000          0.000000            2720.0            2720.0   \n",
       "21         2803.000000          0.000000            2803.0            2803.0   \n",
       "22         2629.000000          0.000000            2629.0            2629.0   \n",
       "23         2700.000000          0.000000            2700.0            2700.0   \n",
       "24         2700.000000          0.000000            2700.0            2700.0   \n",
       "25         2621.473684          7.544894            2620.0            2620.0   \n",
       "26         2739.225806         14.164356            2737.0            2737.0   \n",
       "27         2560.000000          0.000000            2560.0            2560.0   \n",
       "28         2610.000000          0.000000            2610.0            2610.0   \n",
       "29         2669.164265         46.248188            2600.0            2600.0   \n",
       "..                 ...               ...               ...               ...   \n",
       "110        2648.000000          0.000000            2648.0            2648.0   \n",
       "111        2700.000000          0.000000            2700.0            2700.0   \n",
       "112        2670.000000          0.000000            2670.0            2670.0   \n",
       "113        2700.000000          0.000000            2700.0            2700.0   \n",
       "114        2550.000000          0.000000            2550.0            2550.0   \n",
       "115        2603.000000          0.000000            2603.0            2603.0   \n",
       "116        2636.000000          0.000000            2636.0            2636.0   \n",
       "117        2640.000000          0.000000            2640.0            2640.0   \n",
       "118        2850.000000          0.000000            2850.0            2850.0   \n",
       "119        2857.000000          0.000000            2857.0            2857.0   \n",
       "120        2650.000000          0.000000            2650.0            2650.0   \n",
       "121        2585.000000          0.000000            2585.0            2585.0   \n",
       "122        2715.000000          0.000000            2715.0            2715.0   \n",
       "123        2682.215569         18.182515            2640.0            2690.0   \n",
       "124        2950.000000          0.000000            2950.0            2950.0   \n",
       "125        2823.154229         23.159255            2812.0            2812.0   \n",
       "126        2550.000000          0.000000            2550.0            2550.0   \n",
       "127        2760.000000          0.000000            2760.0            2760.0   \n",
       "128        2555.000000          0.000000            2555.0            2555.0   \n",
       "129        2469.621749          1.367774            2460.0            2470.0   \n",
       "130        2737.000000          0.000000            2737.0            2737.0   \n",
       "131        2687.000000          0.000000            2687.0            2687.0   \n",
       "132        2700.000000          0.000000            2700.0            2700.0   \n",
       "133        2700.000000          0.000000            2700.0            2700.0   \n",
       "134        2670.000000          0.000000            2670.0            2670.0   \n",
       "135        2633.495798          6.625451            2630.0            2630.0   \n",
       "136        2592.436937         36.155310            2471.0            2603.0   \n",
       "137        2590.000000          0.000000            2590.0            2590.0   \n",
       "138        2820.000000          0.000000            2820.0            2820.0   \n",
       "139        2650.000000          0.000000            2650.0            2650.0   \n",
       "\n",
       "     (wheelbase, 50%)  (wheelbase, 75%)  (wheelbase, max)  \\\n",
       "0              2590.0            2590.0            2590.0   \n",
       "1              2700.0            2700.0            2700.0   \n",
       "2              3088.0            3088.0            3088.0   \n",
       "3              2775.0            2775.0            2775.0   \n",
       "4              2760.0            2760.0            2760.0   \n",
       "5              2603.0            2603.0            2603.0   \n",
       "6              2500.0            2500.0            2750.0   \n",
       "7              2662.0            2662.0            2662.0   \n",
       "8              2600.0            2600.0            2600.0   \n",
       "9              2630.0            2670.0            2670.0   \n",
       "10             2600.0            2602.0            2602.0   \n",
       "11             2700.0            2700.0            2700.0   \n",
       "12             3108.0            3108.0            3108.0   \n",
       "13             2560.0            2560.0            2560.0   \n",
       "14             2603.0            2603.0            2603.0   \n",
       "15             2680.0            2680.0            2680.0   \n",
       "16             2570.0            2570.0            2600.0   \n",
       "17             2705.0            2705.0            2705.0   \n",
       "18             2829.0            2829.0            2829.0   \n",
       "19             2750.0            2750.0            2750.0   \n",
       "20             2720.0            2720.0            2720.0   \n",
       "21             2803.0            2803.0            2803.0   \n",
       "22             2629.0            2629.0            2629.0   \n",
       "23             2700.0            2700.0            2700.0   \n",
       "24             2700.0            2700.0            2700.0   \n",
       "25             2620.0            2620.0            2660.0   \n",
       "26             2737.0            2737.0            2829.0   \n",
       "27             2560.0            2560.0            2560.0   \n",
       "28             2610.0            2610.0            2610.0   \n",
       "29             2700.0            2700.0            2700.0   \n",
       "..                ...               ...               ...   \n",
       "110            2648.0            2648.0            2648.0   \n",
       "111            2700.0            2700.0            2700.0   \n",
       "112            2670.0            2670.0            2670.0   \n",
       "113            2700.0            2700.0            2700.0   \n",
       "114            2550.0            2550.0            2550.0   \n",
       "115            2603.0            2603.0            2603.0   \n",
       "116            2636.0            2636.0            2636.0   \n",
       "117            2640.0            2640.0            2640.0   \n",
       "118            2850.0            2850.0            2850.0   \n",
       "119            2857.0            2857.0            2857.0   \n",
       "120            2650.0            2650.0            2650.0   \n",
       "121            2585.0            2585.0            2585.0   \n",
       "122            2715.0            2715.0            2715.0   \n",
       "123            2690.0            2690.0            2690.0   \n",
       "124            2950.0            2950.0            2950.0   \n",
       "125            2812.0            2812.0            2871.0   \n",
       "126            2550.0            2550.0            2550.0   \n",
       "127            2760.0            2760.0            2760.0   \n",
       "128            2555.0            2555.0            2555.0   \n",
       "129            2470.0            2470.0            2470.0   \n",
       "130            2737.0            2737.0            2737.0   \n",
       "131            2687.0            2687.0            2687.0   \n",
       "132            2700.0            2700.0            2700.0   \n",
       "133            2700.0            2700.0            2700.0   \n",
       "134            2670.0            2670.0            2670.0   \n",
       "135            2630.0            2630.0            2646.0   \n",
       "136            2603.0            2603.0            2604.0   \n",
       "137            2590.0            2590.0            2590.0   \n",
       "138            2820.0            2820.0            2820.0   \n",
       "139            2650.0            2650.0            2650.0   \n",
       "\n",
       "     (sale_quantity_total, )  OC_sale_month_cnt  OC_month_sale_avg  \n",
       "0                      17085                 32         533.906250  \n",
       "1                      11237                 42         267.547619  \n",
       "2                      12280                 70         175.428571  \n",
       "3                      21847                 70         312.100000  \n",
       "4                        581                  5         116.200000  \n",
       "5                      20644                 59         349.898305  \n",
       "6                      41205                 70         588.642857  \n",
       "7                       2702                 21         128.666667  \n",
       "8                        617                  2         308.500000  \n",
       "9                       7588                 69         109.971014  \n",
       "10                      4126                 53          77.849057  \n",
       "11                     36209                 28        1293.178571  \n",
       "12                     21596                 70         308.514286  \n",
       "13                      8315                 39         213.205128  \n",
       "14                     13056                 55         237.381818  \n",
       "15                      1930                 19         101.578947  \n",
       "16                     65103                 70         930.042857  \n",
       "17                      1638                 12         136.500000  \n",
       "18                      2807                 20         140.350000  \n",
       "19                     19809                 69         287.086957  \n",
       "20                     32539                 34         957.029412  \n",
       "21                     51494                 70         735.628571  \n",
       "22                     11888                 41         289.951220  \n",
       "23                     14052                 41         342.731707  \n",
       "24                      3865                 18         214.722222  \n",
       "25                     19276                 70         275.371429  \n",
       "26                     52846                 70         754.942857  \n",
       "27                      5565                 60          92.750000  \n",
       "28                      1639                 12         136.583333  \n",
       "29                     26522                 70         378.885714  \n",
       "..                       ...                ...                ...  \n",
       "110                    53411                 66         809.257576  \n",
       "111                     3982                 28         142.214286  \n",
       "112                      374                 10          37.400000  \n",
       "113                    34591                 62         557.919355  \n",
       "114                      310                  8          38.750000  \n",
       "115                     2066                 27          76.518519  \n",
       "116                     1505                 10         150.500000  \n",
       "117                    46653                 70         666.471429  \n",
       "118                      772                  5         154.400000  \n",
       "119                     3401                 19         179.000000  \n",
       "120                    14687                 52         282.442308  \n",
       "121                      761                  8          95.125000  \n",
       "122                     1672                  8         209.000000  \n",
       "123                     9571                 54         177.240741  \n",
       "124                      543                  4         135.750000  \n",
       "125                    20034                 70         286.200000  \n",
       "126                     8609                 10         860.900000  \n",
       "127                      628                  4         157.000000  \n",
       "128                    10367                 60         172.783333  \n",
       "129                    35408                 70         505.828571  \n",
       "130                    39851                 68         586.044118  \n",
       "131                    34001                 34        1000.029412  \n",
       "132                     1332                 13         102.461538  \n",
       "133                    12293                 16         768.312500  \n",
       "134                    19403                 21         923.952381  \n",
       "135                     4946                 70          70.657143  \n",
       "136                     8849                 70         126.414286  \n",
       "137                    10102                 37         273.027027  \n",
       "138                     1393                 12         116.083333  \n",
       "139                    20605                 39         528.333333  \n",
       "\n",
       "[140 rows x 153 columns]"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 上面这几个结果join起来\n",
    "oc = pd.merge(modes, ndf, how='left', left_on='class_id', right_index=True)\n",
    "oc = pd.merge(oc, pd.DataFrame(OC_sale_month_cnt, columns=['OC_sale_month_cnt']), how='left', left_on='class_id', right_index=True)\n",
    "# 该车型月均销售量\n",
    "oc['OC_month_sale_avg'] = oc[('sale_quantity_total','')] / oc['OC_sale_month_cnt']\n",
    "\n",
    "oc"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 对类别类型的列做 onehot 编码\n",
    "oc_before_oh = oc\n",
    "oc = pd.get_dummies(oc) # 先将object类型的列给哑编码喽\n",
    "oc = pd.get_dummies(oc, columns=['brand_id','OC_mode_type_id','OC_mode_level_id','OC_mode_department_id','OC_mode_driven_type_id',\n",
    "                                 'OC_mode_fuel_type_id','OC_mode_newenergy_type_id','OC_mode_if_MPV_id',\n",
    "                                 'OC_mode_if_luxurious_id']) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "class_id                           int64\n",
       "OC_mode_compartment                int64\n",
       "OC_mode_displacement             float64\n",
       "OC_mode_price_level                int64\n",
       "OC_mode_price                    float64\n",
       "OC_mode_emission_standards_id      int64\n",
       "OC_mode_power                    float64\n",
       "OC_mode_cylinder_number            int64\n",
       "OC_mode_engine_torque            float64\n",
       "OC_mode_car_length                 int64\n",
       "OC_mode_car_width                  int64\n",
       "OC_mode_car_height                 int64\n",
       "OC_mode_total_quality              int64\n",
       "OC_mode_equipment_quality          int64\n",
       "OC_mode_wheelbase                  int64\n",
       "OC_mode_front_track                int64\n",
       "OC_mode_rear_track                 int64\n",
       "(car_height, count)              float64\n",
       "(car_height, mean)               float64\n",
       "(car_height, std)                float64\n",
       "(car_height, min)                float64\n",
       "(car_height, 25%)                float64\n",
       "(car_height, 50%)                float64\n",
       "(car_height, 75%)                float64\n",
       "(car_height, max)                float64\n",
       "(car_length, count)              float64\n",
       "(car_length, mean)               float64\n",
       "(car_length, std)                float64\n",
       "(car_length, min)                float64\n",
       "(car_length, 25%)                float64\n",
       "                                  ...   \n",
       "brand_id_923                       uint8\n",
       "brand_id_953                       uint8\n",
       "brand_id_985                       uint8\n",
       "OC_mode_type_id_1                  uint8\n",
       "OC_mode_type_id_2                  uint8\n",
       "OC_mode_type_id_3                  uint8\n",
       "OC_mode_type_id_4                  uint8\n",
       "OC_mode_level_id_1.0               uint8\n",
       "OC_mode_level_id_2.0               uint8\n",
       "OC_mode_level_id_3.0               uint8\n",
       "OC_mode_level_id_4.0               uint8\n",
       "OC_mode_level_id_5.0               uint8\n",
       "OC_mode_department_id_1            uint8\n",
       "OC_mode_department_id_2            uint8\n",
       "OC_mode_department_id_3            uint8\n",
       "OC_mode_department_id_4            uint8\n",
       "OC_mode_department_id_5            uint8\n",
       "OC_mode_department_id_6            uint8\n",
       "OC_mode_department_id_7            uint8\n",
       "OC_mode_driven_type_id_1           uint8\n",
       "OC_mode_driven_type_id_2           uint8\n",
       "OC_mode_driven_type_id_3           uint8\n",
       "OC_mode_fuel_type_id_1.0           uint8\n",
       "OC_mode_fuel_type_id_4.0           uint8\n",
       "OC_mode_newenergy_type_id_1        uint8\n",
       "OC_mode_newenergy_type_id_3        uint8\n",
       "OC_mode_if_MPV_id_1                uint8\n",
       "OC_mode_if_MPV_id_2                uint8\n",
       "OC_mode_if_luxurious_id_1          uint8\n",
       "OC_mode_if_luxurious_id_2          uint8\n",
       "Length: 223, dtype: object"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "oc.dtypes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 存盘\n",
    "oc.to_csv(\"../../data/features/OC_features_online.csv\",index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "# # 对品牌id做one-hot编码\n",
    "# ndf_before_oh = ndf\n",
    "# # df = pd.get_dummies(df, columns=['brand_id','type_id','department_id','TR','gearbox_type',\n",
    "# #                                     'if_charging','driven_type_id','fuel_type_id',\n",
    "# #                                     'newenergy_type_id','emission_standards_id',\n",
    "# #                                     'if_MPV_id','if_luxurious_id','rated_passenger'])\n",
    "# ndf = pd.get_dummies(ndf, columns=['brand'])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 上面是online的（带201710的）版本\n",
    "# 下面弄offline的（不带201710的）版本"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 将level_id字段中的-替换为np.nan\n",
    "df = pd.read_csv('../../data/origin/[new] yancheng_train_20171226.csv', dtype={'sale_date':str}, na_values=['-'], low_memory=False)\n",
    "df['sale_date']= pd.to_datetime(df['sale_date'], format='%Y%m')\n",
    "\n",
    "# 将price_level字段转换成有序类别的类型，并用其数值填入该列。\n",
    "df['price_level'] = df['price_level'].astype('category', categories=['5WL','5-8W','8-10W','10-15W','15-20W','20-25W','25-35W','35-50W','50-75W'], ordered=True)\n",
    "df['price_level'] = df['price_level'].cat.codes\n",
    "\n",
    "# 待选方案：先把power和扭矩字段带/的行复制一份，然后将新行里的销量清零，将原行和新行的power和扭矩字段的值分别赋为slash前后的值。\n",
    "# 现行方案：先他娘的直接把slash和后面的值删掉。省得影响记录条数相关的统计量。\n",
    "def process_power_and_torque(s):\n",
    "    return s.split('/')[0]\n",
    "df['power'] = df['power'].astype(str).apply(process_power_and_torque).astype(float) #[18600]\n",
    "df['engine_torque'] = df['engine_torque'].astype(str).apply(process_power_and_torque).astype(float)\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "下面是为了在本地用10月数据做验证，所以需要先对数据集做切分，并依据咱指定的规则做特征。  \n",
    "\n",
    "步骤：\n",
    "1. 把10月的销量统计出来，作为验证集保存住（只留class_id、sale_date、sale_quantity）；\n",
    "2. 把10月的从df里删去，后面就还是对df做操作就行。"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 只保留2017年10月以前的（不包括10月）\n",
    "df = df[df['sale_date'] < pd.to_datetime('201710', format='%Y%m')]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>class_id</th>\n",
       "      <th>brand_id</th>\n",
       "      <th>OC_mode_compartment</th>\n",
       "      <th>OC_mode_type_id</th>\n",
       "      <th>OC_mode_level_id</th>\n",
       "      <th>OC_mode_department_id</th>\n",
       "      <th>OC_mode_TR</th>\n",
       "      <th>OC_mode_gearbox_type</th>\n",
       "      <th>OC_mode_displacement</th>\n",
       "      <th>OC_mode_if_charging</th>\n",
       "      <th>...</th>\n",
       "      <th>OC_mode_engine_torque</th>\n",
       "      <th>OC_mode_car_length</th>\n",
       "      <th>OC_mode_car_width</th>\n",
       "      <th>OC_mode_car_height</th>\n",
       "      <th>OC_mode_total_quality</th>\n",
       "      <th>OC_mode_equipment_quality</th>\n",
       "      <th>OC_mode_rated_passenger</th>\n",
       "      <th>OC_mode_wheelbase</th>\n",
       "      <th>OC_mode_front_track</th>\n",
       "      <th>OC_mode_rear_track</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>103507</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.7</td>\n",
       "      <td>4270</td>\n",
       "      <td>1780</td>\n",
       "      <td>1630</td>\n",
       "      <td>1830</td>\n",
       "      <td>1325</td>\n",
       "      <td>5</td>\n",
       "      <td>2590</td>\n",
       "      <td>1557</td>\n",
       "      <td>1570</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>124140</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>230.0</td>\n",
       "      <td>4650</td>\n",
       "      <td>1850</td>\n",
       "      <td>1695</td>\n",
       "      <td>2075</td>\n",
       "      <td>1665</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1565</td>\n",
       "      <td>1565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>125403</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>225.0</td>\n",
       "      <td>5213</td>\n",
       "      <td>1878</td>\n",
       "      <td>1772</td>\n",
       "      <td>2470</td>\n",
       "      <td>1840</td>\n",
       "      <td>7</td>\n",
       "      <td>3088</td>\n",
       "      <td>1593</td>\n",
       "      <td>1601</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>136916</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>4825</td>\n",
       "      <td>1825</td>\n",
       "      <td>1480</td>\n",
       "      <td>2000</td>\n",
       "      <td>1465</td>\n",
       "      <td>5</td>\n",
       "      <td>2775</td>\n",
       "      <td>1575</td>\n",
       "      <td>1560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>169673</td>\n",
       "      <td>682</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>215.0</td>\n",
       "      <td>4715</td>\n",
       "      <td>1830</td>\n",
       "      <td>1780</td>\n",
       "      <td>2095</td>\n",
       "      <td>1570</td>\n",
       "      <td>7</td>\n",
       "      <td>2760</td>\n",
       "      <td>1547</td>\n",
       "      <td>1550</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>175962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>155.0</td>\n",
       "      <td>4473</td>\n",
       "      <td>1706</td>\n",
       "      <td>1469</td>\n",
       "      <td>1600</td>\n",
       "      <td>1120</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>178529</td>\n",
       "      <td>98</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>85.0</td>\n",
       "      <td>3730</td>\n",
       "      <td>1510</td>\n",
       "      <td>1860</td>\n",
       "      <td>1575</td>\n",
       "      <td>985</td>\n",
       "      <td>7</td>\n",
       "      <td>2500</td>\n",
       "      <td>1290</td>\n",
       "      <td>1290</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>186250</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>146.0</td>\n",
       "      <td>4370</td>\n",
       "      <td>1809</td>\n",
       "      <td>1461</td>\n",
       "      <td>1715</td>\n",
       "      <td>1280</td>\n",
       "      <td>5</td>\n",
       "      <td>2662</td>\n",
       "      <td>1540</td>\n",
       "      <td>1562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>194201</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>132.4</td>\n",
       "      <td>4240</td>\n",
       "      <td>1750</td>\n",
       "      <td>1505</td>\n",
       "      <td>1570</td>\n",
       "      <td>1145</td>\n",
       "      <td>5</td>\n",
       "      <td>2600</td>\n",
       "      <td>1524</td>\n",
       "      <td>1529</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>194450</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>265.0</td>\n",
       "      <td>4475</td>\n",
       "      <td>1850</td>\n",
       "      <td>1655</td>\n",
       "      <td>2090</td>\n",
       "      <td>1541</td>\n",
       "      <td>5</td>\n",
       "      <td>2670</td>\n",
       "      <td>1620</td>\n",
       "      <td>1631</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>198427</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>140.0</td>\n",
       "      <td>4547</td>\n",
       "      <td>1734</td>\n",
       "      <td>1470</td>\n",
       "      <td>1620</td>\n",
       "      <td>1210</td>\n",
       "      <td>5</td>\n",
       "      <td>2600</td>\n",
       "      <td>1490</td>\n",
       "      <td>1470</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>206765</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>146.0</td>\n",
       "      <td>4718</td>\n",
       "      <td>1802</td>\n",
       "      <td>1466</td>\n",
       "      <td>1745</td>\n",
       "      <td>1295</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1540</td>\n",
       "      <td>1558</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>209945</td>\n",
       "      <td>814</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>310.0</td>\n",
       "      <td>5055</td>\n",
       "      <td>1860</td>\n",
       "      <td>1491</td>\n",
       "      <td>2250</td>\n",
       "      <td>1790</td>\n",
       "      <td>5</td>\n",
       "      <td>3108</td>\n",
       "      <td>1600</td>\n",
       "      <td>1627</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>219195</td>\n",
       "      <td>638</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>210.0</td>\n",
       "      <td>4335</td>\n",
       "      <td>1814</td>\n",
       "      <td>1695</td>\n",
       "      <td>1910</td>\n",
       "      <td>1495</td>\n",
       "      <td>5</td>\n",
       "      <td>2560</td>\n",
       "      <td>1525</td>\n",
       "      <td>1520</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>221795</td>\n",
       "      <td>872</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4385</td>\n",
       "      <td>1831</td>\n",
       "      <td>1589</td>\n",
       "      <td>2020</td>\n",
       "      <td>1500</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1571</td>\n",
       "      <td>1575</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>245609</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>225.0</td>\n",
       "      <td>4348</td>\n",
       "      <td>1807</td>\n",
       "      <td>1574</td>\n",
       "      <td>1880</td>\n",
       "      <td>1425</td>\n",
       "      <td>5</td>\n",
       "      <td>2680</td>\n",
       "      <td>1549</td>\n",
       "      <td>1521</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>248352</td>\n",
       "      <td>831</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>135.0</td>\n",
       "      <td>4370</td>\n",
       "      <td>1700</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "      <td>1039</td>\n",
       "      <td>5</td>\n",
       "      <td>2570</td>\n",
       "      <td>1511</td>\n",
       "      <td>1515</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>249875</td>\n",
       "      <td>294</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>200.0</td>\n",
       "      <td>4672</td>\n",
       "      <td>1843</td>\n",
       "      <td>1678</td>\n",
       "      <td>2004</td>\n",
       "      <td>1557</td>\n",
       "      <td>5</td>\n",
       "      <td>2705</td>\n",
       "      <td>1597</td>\n",
       "      <td>1589</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>250658</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>252.0</td>\n",
       "      <td>4923</td>\n",
       "      <td>1854</td>\n",
       "      <td>1470</td>\n",
       "      <td>1865</td>\n",
       "      <td>1415</td>\n",
       "      <td>5</td>\n",
       "      <td>2829</td>\n",
       "      <td>1606</td>\n",
       "      <td>1609</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>265980</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>135.0</td>\n",
       "      <td>4360</td>\n",
       "      <td>1685</td>\n",
       "      <td>1820</td>\n",
       "      <td>1925</td>\n",
       "      <td>1325</td>\n",
       "      <td>7-8</td>\n",
       "      <td>2750</td>\n",
       "      <td>1425</td>\n",
       "      <td>1435</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>270690</td>\n",
       "      <td>98</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>146.5</td>\n",
       "      <td>4415</td>\n",
       "      <td>1685</td>\n",
       "      <td>1850</td>\n",
       "      <td>1825</td>\n",
       "      <td>1256</td>\n",
       "      <td>5</td>\n",
       "      <td>2720</td>\n",
       "      <td>1420</td>\n",
       "      <td>1440</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>281301</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4870</td>\n",
       "      <td>1834</td>\n",
       "      <td>1472</td>\n",
       "      <td>2060</td>\n",
       "      <td>1520</td>\n",
       "      <td>5</td>\n",
       "      <td>2803</td>\n",
       "      <td>1577</td>\n",
       "      <td>1550</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>281792</td>\n",
       "      <td>872</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4462</td>\n",
       "      <td>1796</td>\n",
       "      <td>1421</td>\n",
       "      <td>1795</td>\n",
       "      <td>1345</td>\n",
       "      <td>5</td>\n",
       "      <td>2629</td>\n",
       "      <td>1552</td>\n",
       "      <td>1520</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>289386</td>\n",
       "      <td>813</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>148.0</td>\n",
       "      <td>4582</td>\n",
       "      <td>1795</td>\n",
       "      <td>1458</td>\n",
       "      <td>1820</td>\n",
       "      <td>1286</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1555</td>\n",
       "      <td>1560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>289403</td>\n",
       "      <td>12</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.3</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>185.0</td>\n",
       "      <td>4440</td>\n",
       "      <td>1833</td>\n",
       "      <td>1545</td>\n",
       "      <td>1773</td>\n",
       "      <td>1398</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1556</td>\n",
       "      <td>1562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>290854</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>4550</td>\n",
       "      <td>1820</td>\n",
       "      <td>1685</td>\n",
       "      <td>2010</td>\n",
       "      <td>1625</td>\n",
       "      <td>5</td>\n",
       "      <td>2620</td>\n",
       "      <td>1565</td>\n",
       "      <td>1565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>291086</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>4843</td>\n",
       "      <td>1856</td>\n",
       "      <td>1484</td>\n",
       "      <td>2020</td>\n",
       "      <td>1585</td>\n",
       "      <td>5</td>\n",
       "      <td>2737</td>\n",
       "      <td>1585</td>\n",
       "      <td>1588</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>291514</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>160.0</td>\n",
       "      <td>4160</td>\n",
       "      <td>1810</td>\n",
       "      <td>1635</td>\n",
       "      <td>1645</td>\n",
       "      <td>1270</td>\n",
       "      <td>5</td>\n",
       "      <td>2560</td>\n",
       "      <td>1560</td>\n",
       "      <td>1560</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>302513</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>143.0</td>\n",
       "      <td>4354</td>\n",
       "      <td>1840</td>\n",
       "      <td>1654</td>\n",
       "      <td>1670</td>\n",
       "      <td>1285</td>\n",
       "      <td>5</td>\n",
       "      <td>2610</td>\n",
       "      <td>1585</td>\n",
       "      <td>1586</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>304458</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>154.0</td>\n",
       "      <td>4630</td>\n",
       "      <td>1775</td>\n",
       "      <td>1480</td>\n",
       "      <td>1770</td>\n",
       "      <td>1305</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1535</td>\n",
       "      <td>1535</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>745137</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>215.0</td>\n",
       "      <td>4534</td>\n",
       "      <td>1823</td>\n",
       "      <td>1483</td>\n",
       "      <td>1712</td>\n",
       "      <td>1337</td>\n",
       "      <td>5</td>\n",
       "      <td>2648</td>\n",
       "      <td>1553</td>\n",
       "      <td>1544</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>750340</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>235.0</td>\n",
       "      <td>4530</td>\n",
       "      <td>1900</td>\n",
       "      <td>1700</td>\n",
       "      <td>1920</td>\n",
       "      <td>1545</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1601</td>\n",
       "      <td>1602</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>112</th>\n",
       "      <td>760412</td>\n",
       "      <td>542</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>155.5</td>\n",
       "      <td>4705</td>\n",
       "      <td>1810</td>\n",
       "      <td>1680</td>\n",
       "      <td>2210</td>\n",
       "      <td>1440</td>\n",
       "      <td>5</td>\n",
       "      <td>2670</td>\n",
       "      <td>1540</td>\n",
       "      <td>1540</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113</th>\n",
       "      <td>786351</td>\n",
       "      <td>836</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>140.0</td>\n",
       "      <td>4570</td>\n",
       "      <td>1775</td>\n",
       "      <td>1445</td>\n",
       "      <td>1642</td>\n",
       "      <td>1267</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1549</td>\n",
       "      <td>1562</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>114</th>\n",
       "      <td>789290</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>155.0</td>\n",
       "      <td>4440</td>\n",
       "      <td>1700</td>\n",
       "      <td>1490</td>\n",
       "      <td>1500</td>\n",
       "      <td>1090</td>\n",
       "      <td>5</td>\n",
       "      <td>2550</td>\n",
       "      <td>1460</td>\n",
       "      <td>1460</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>115</th>\n",
       "      <td>810398</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4282</td>\n",
       "      <td>1706</td>\n",
       "      <td>1475</td>\n",
       "      <td>1635</td>\n",
       "      <td>1155</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>116</th>\n",
       "      <td>815230</td>\n",
       "      <td>49</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>199.0</td>\n",
       "      <td>4415</td>\n",
       "      <td>1819</td>\n",
       "      <td>1625</td>\n",
       "      <td>1830</td>\n",
       "      <td>1455</td>\n",
       "      <td>5</td>\n",
       "      <td>2636</td>\n",
       "      <td>1544</td>\n",
       "      <td>1544</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>117</th>\n",
       "      <td>819061</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>245.0</td>\n",
       "      <td>4450</td>\n",
       "      <td>1855</td>\n",
       "      <td>1635</td>\n",
       "      <td>1980</td>\n",
       "      <td>1470</td>\n",
       "      <td>5</td>\n",
       "      <td>2640</td>\n",
       "      <td>1614</td>\n",
       "      <td>1615</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>842246</td>\n",
       "      <td>68</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>400.0</td>\n",
       "      <td>4748</td>\n",
       "      <td>1933</td>\n",
       "      <td>1697</td>\n",
       "      <td>2162</td>\n",
       "      <td>1787</td>\n",
       "      <td>5</td>\n",
       "      <td>2850</td>\n",
       "      <td>1641</td>\n",
       "      <td>1642</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>119</th>\n",
       "      <td>851857</td>\n",
       "      <td>75</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>172.0</td>\n",
       "      <td>4812</td>\n",
       "      <td>1903</td>\n",
       "      <td>1680</td>\n",
       "      <td>2275</td>\n",
       "      <td>1795</td>\n",
       "      <td>5</td>\n",
       "      <td>2857</td>\n",
       "      <td>1645</td>\n",
       "      <td>1645</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>854079</td>\n",
       "      <td>537</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.0</td>\n",
       "      <td>4650</td>\n",
       "      <td>1750</td>\n",
       "      <td>1505</td>\n",
       "      <td>1650</td>\n",
       "      <td>1275</td>\n",
       "      <td>5</td>\n",
       "      <td>2650</td>\n",
       "      <td>1500</td>\n",
       "      <td>1485</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>121</th>\n",
       "      <td>854548</td>\n",
       "      <td>126</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4314</td>\n",
       "      <td>1809</td>\n",
       "      <td>1624</td>\n",
       "      <td>1690</td>\n",
       "      <td>1258</td>\n",
       "      <td>5</td>\n",
       "      <td>2585</td>\n",
       "      <td>1526</td>\n",
       "      <td>1536</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>122</th>\n",
       "      <td>861459</td>\n",
       "      <td>498</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>240.0</td>\n",
       "      <td>4671</td>\n",
       "      <td>1835</td>\n",
       "      <td>1464</td>\n",
       "      <td>1720</td>\n",
       "      <td>1270</td>\n",
       "      <td>5</td>\n",
       "      <td>2715</td>\n",
       "      <td>1562</td>\n",
       "      <td>1571</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>123</th>\n",
       "      <td>871642</td>\n",
       "      <td>637</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>360.0</td>\n",
       "      <td>4524</td>\n",
       "      <td>1838</td>\n",
       "      <td>1685</td>\n",
       "      <td>1967</td>\n",
       "      <td>1592</td>\n",
       "      <td>5</td>\n",
       "      <td>2690</td>\n",
       "      <td>1563</td>\n",
       "      <td>1565</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>124</th>\n",
       "      <td>872180</td>\n",
       "      <td>76</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4765</td>\n",
       "      <td>1931</td>\n",
       "      <td>1655</td>\n",
       "      <td>2505</td>\n",
       "      <td>1960</td>\n",
       "      <td>5</td>\n",
       "      <td>2950</td>\n",
       "      <td>1655</td>\n",
       "      <td>1606</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125</th>\n",
       "      <td>883691</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>146.5</td>\n",
       "      <td>4865</td>\n",
       "      <td>1820</td>\n",
       "      <td>1475</td>\n",
       "      <td>2000</td>\n",
       "      <td>1545</td>\n",
       "      <td>5</td>\n",
       "      <td>2812</td>\n",
       "      <td>1552</td>\n",
       "      <td>1551</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>126</th>\n",
       "      <td>890189</td>\n",
       "      <td>290</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>225.0</td>\n",
       "      <td>4220</td>\n",
       "      <td>1740</td>\n",
       "      <td>1625</td>\n",
       "      <td>1580</td>\n",
       "      <td>1206</td>\n",
       "      <td>5</td>\n",
       "      <td>2550</td>\n",
       "      <td>1490</td>\n",
       "      <td>1496</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>127</th>\n",
       "      <td>905061</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>200.0</td>\n",
       "      <td>4810</td>\n",
       "      <td>1795</td>\n",
       "      <td>1730</td>\n",
       "      <td>1980</td>\n",
       "      <td>1490</td>\n",
       "      <td>7</td>\n",
       "      <td>2760</td>\n",
       "      <td>1535</td>\n",
       "      <td>1530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>128</th>\n",
       "      <td>905745</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>155.0</td>\n",
       "      <td>4278</td>\n",
       "      <td>1774</td>\n",
       "      <td>1646</td>\n",
       "      <td>1840</td>\n",
       "      <td>1430</td>\n",
       "      <td>5</td>\n",
       "      <td>2555</td>\n",
       "      <td>1540</td>\n",
       "      <td>1540</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>129</th>\n",
       "      <td>914348</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>190.0</td>\n",
       "      <td>3970</td>\n",
       "      <td>1682</td>\n",
       "      <td>1462</td>\n",
       "      <td>1600</td>\n",
       "      <td>1120</td>\n",
       "      <td>5</td>\n",
       "      <td>2470</td>\n",
       "      <td>1463</td>\n",
       "      <td>1456</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>130</th>\n",
       "      <td>923841</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>142.0</td>\n",
       "      <td>4869</td>\n",
       "      <td>1854</td>\n",
       "      <td>1472</td>\n",
       "      <td>1985</td>\n",
       "      <td>1565</td>\n",
       "      <td>5</td>\n",
       "      <td>2737</td>\n",
       "      <td>1585</td>\n",
       "      <td>1587</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>131</th>\n",
       "      <td>924154</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.0</td>\n",
       "      <td>4587</td>\n",
       "      <td>1825</td>\n",
       "      <td>1490</td>\n",
       "      <td>1675</td>\n",
       "      <td>1300</td>\n",
       "      <td>5</td>\n",
       "      <td>2687</td>\n",
       "      <td>1562</td>\n",
       "      <td>1548</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>132</th>\n",
       "      <td>948936</td>\n",
       "      <td>512</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>250.0</td>\n",
       "      <td>4520</td>\n",
       "      <td>1790</td>\n",
       "      <td>1750</td>\n",
       "      <td>1960</td>\n",
       "      <td>1435</td>\n",
       "      <td>6-7</td>\n",
       "      <td>2700</td>\n",
       "      <td>1450</td>\n",
       "      <td>1480</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>133</th>\n",
       "      <td>950264</td>\n",
       "      <td>498</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>265.0</td>\n",
       "      <td>4545</td>\n",
       "      <td>1855</td>\n",
       "      <td>1690</td>\n",
       "      <td>1876</td>\n",
       "      <td>1501</td>\n",
       "      <td>5</td>\n",
       "      <td>2700</td>\n",
       "      <td>1574</td>\n",
       "      <td>1593</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>134</th>\n",
       "      <td>953842</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>198.0</td>\n",
       "      <td>4480</td>\n",
       "      <td>1855</td>\n",
       "      <td>1645</td>\n",
       "      <td>2090</td>\n",
       "      <td>1576</td>\n",
       "      <td>5</td>\n",
       "      <td>2670</td>\n",
       "      <td>1625</td>\n",
       "      <td>1636</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>135</th>\n",
       "      <td>961362</td>\n",
       "      <td>692</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>160.0</td>\n",
       "      <td>4315</td>\n",
       "      <td>1783</td>\n",
       "      <td>1606</td>\n",
       "      <td>1930</td>\n",
       "      <td>1403</td>\n",
       "      <td>5</td>\n",
       "      <td>2630</td>\n",
       "      <td>1540</td>\n",
       "      <td>1545</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>961962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>150.7</td>\n",
       "      <td>4487</td>\n",
       "      <td>1706</td>\n",
       "      <td>1470</td>\n",
       "      <td>1600</td>\n",
       "      <td>1120</td>\n",
       "      <td>5</td>\n",
       "      <td>2603</td>\n",
       "      <td>1460</td>\n",
       "      <td>1500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>137</th>\n",
       "      <td>963845</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>243.0</td>\n",
       "      <td>4270</td>\n",
       "      <td>1780</td>\n",
       "      <td>1622</td>\n",
       "      <td>1752</td>\n",
       "      <td>1341</td>\n",
       "      <td>5</td>\n",
       "      <td>2590</td>\n",
       "      <td>1557</td>\n",
       "      <td>1570</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>138</th>\n",
       "      <td>973106</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>140.0</td>\n",
       "      <td>4816</td>\n",
       "      <td>1942</td>\n",
       "      <td>1669</td>\n",
       "      <td>2180</td>\n",
       "      <td>1708</td>\n",
       "      <td>5</td>\n",
       "      <td>2820</td>\n",
       "      <td>1652</td>\n",
       "      <td>1671</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>139</th>\n",
       "      <td>978089</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>4631</td>\n",
       "      <td>1789</td>\n",
       "      <td>1470</td>\n",
       "      <td>1625</td>\n",
       "      <td>1250</td>\n",
       "      <td>5</td>\n",
       "      <td>2650</td>\n",
       "      <td>1502</td>\n",
       "      <td>1492</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>140 rows × 30 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     class_id  brand_id  OC_mode_compartment  OC_mode_type_id  \\\n",
       "0      103507       831                    2                1   \n",
       "1      124140       783                    2                1   \n",
       "2      125403       761                    2                3   \n",
       "3      136916       106                    3                2   \n",
       "4      169673       682                    2                1   \n",
       "5      175962       750                    3                2   \n",
       "6      178529        98                    1                4   \n",
       "7      186250       761                    2                2   \n",
       "8      194201       831                    2                2   \n",
       "9      194450       836                    2                1   \n",
       "10     198427        12                    3                2   \n",
       "11     206765       761                    3                2   \n",
       "12     209945       814                    3                2   \n",
       "13     219195       638                    2                1   \n",
       "14     221795       872                    2                1   \n",
       "15     245609       750                    2                2   \n",
       "16     248352       831                    3                2   \n",
       "17     249875       294                    2                1   \n",
       "18     250658       450                    3                2   \n",
       "19     265980       783                    2                3   \n",
       "20     270690        98                    2                3   \n",
       "21     281301       750                    3                2   \n",
       "22     281792       872                    3                2   \n",
       "23     289386       813                    3                2   \n",
       "24     289403        12                    2                1   \n",
       "25     290854       537                    2                1   \n",
       "26     291086       761                    3                2   \n",
       "27     291514       783                    2                1   \n",
       "28     302513       864                    2                1   \n",
       "29     304458       106                    3                2   \n",
       "..        ...       ...                  ...              ...   \n",
       "110    745137       637                    3                2   \n",
       "111    750340       864                    2                1   \n",
       "112    760412       542                    2                1   \n",
       "113    786351       836                    3                2   \n",
       "114    789290       106                    3                2   \n",
       "115    810398       750                    2                2   \n",
       "116    815230        49                    2                1   \n",
       "117    819061       831                    2                1   \n",
       "118    842246        68                    2                1   \n",
       "119    851857        75                    2                1   \n",
       "120    854079       537                    3                2   \n",
       "121    854548       126                    2                1   \n",
       "122    861459       498                    3                2   \n",
       "123    871642       637                    2                1   \n",
       "124    872180        76                    2                1   \n",
       "125    883691       750                    3                2   \n",
       "126    890189       290                    2                1   \n",
       "127    905061       783                    2                3   \n",
       "128    905745       761                    2                1   \n",
       "129    914348       750                    2                2   \n",
       "130    923841       450                    3                2   \n",
       "131    924154       637                    3                2   \n",
       "132    948936       512                    2                1   \n",
       "133    950264       498                    2                1   \n",
       "134    953842       831                    2                1   \n",
       "135    961362       692                    2                1   \n",
       "136    961962       750                    3                2   \n",
       "137    963845       836                    2                1   \n",
       "138    973106       537                    2                1   \n",
       "139    978089        12                    3                2   \n",
       "\n",
       "     OC_mode_level_id  OC_mode_department_id OC_mode_TR OC_mode_gearbox_type  \\\n",
       "0                 3.0                      3          6                   AT   \n",
       "1                 1.0                      1          6                   AT   \n",
       "2                 2.0                      2          6                   AT   \n",
       "3                 2.0                      5          4                   AT   \n",
       "4                 2.0                      1          6                   MT   \n",
       "5                 1.0                      4          5                   MT   \n",
       "6                 1.0                      1          5                   MT   \n",
       "7                 3.0                      2          6                   AT   \n",
       "8                 1.0                      3          6                   AT   \n",
       "9                 1.0                      3          7                  DCT   \n",
       "10                1.0                      1          5                   MT   \n",
       "11                4.0                      2          6                   AT   \n",
       "12                3.0                      4          8                   AT   \n",
       "13                1.0                      1          6                   MT   \n",
       "14                1.0                      4          6                  DCT   \n",
       "15                3.0                      4          7                  DCT   \n",
       "16                1.0                      3          4                   AT   \n",
       "17                2.0                      6          0                  CVT   \n",
       "18                3.0                      2          7                  DCT   \n",
       "19                3.0                      1          5                   MT   \n",
       "20                2.0                      1          5                   MT   \n",
       "21                1.0                      4          7                  DCT   \n",
       "22                1.0                      4          7                  DCT   \n",
       "23                1.0                      5          6                   AT   \n",
       "24                1.0                      1          6                  DCT   \n",
       "25                2.0                      5          5                   AT   \n",
       "26                3.0                      2          6                   AT   \n",
       "27                3.0                      1          5                   MT   \n",
       "28                1.0                      1          5                   MT   \n",
       "29                1.0                      5          0                  CVT   \n",
       "..                ...                    ...        ...                  ...   \n",
       "110               1.0                      2          6                  DCT   \n",
       "111               1.0                      1          5                   AT   \n",
       "112               1.0                      5          0                  CVT   \n",
       "113               3.0                      3          6                   AT   \n",
       "114               1.0                      5          0                  CVT   \n",
       "115               1.0                      4          6                   AT   \n",
       "116               1.0                      2          7                  DCT   \n",
       "117               2.0                      3          6                   AT   \n",
       "118               2.0                      1          6                  DCT   \n",
       "119               1.0                      2          8                   AT   \n",
       "120               3.0                      5          5                   AT   \n",
       "121               1.0                      1          4                   AT   \n",
       "122               1.0                      1          7                  DCT   \n",
       "123               2.0                      2          6                   AT   \n",
       "124               2.0                      1          7                  DCT   \n",
       "125               3.0                      4          7                  DCT   \n",
       "126               1.0                      7          6                   MT   \n",
       "127               3.0                      1          6                   MT   \n",
       "128               3.0                      2          6                   AT   \n",
       "129               2.0                      4          6                   AT   \n",
       "130               1.0                      2          6                   AT   \n",
       "131               1.0                      2          6                   AT   \n",
       "132               1.0                      1          5                   MT   \n",
       "133               1.0                      1          7                  DCT   \n",
       "134               1.0                      3          7                  DCT   \n",
       "135               1.0                      5          0                  CVT   \n",
       "136               3.0                      4          5                   MT   \n",
       "137               2.0                      3          6                   AT   \n",
       "138               1.0                      5          0                  CVT   \n",
       "139               NaN                      1          5                   MT   \n",
       "\n",
       "     OC_mode_displacement OC_mode_if_charging         ...          \\\n",
       "0                     1.6                   L         ...           \n",
       "1                     1.8                   T         ...           \n",
       "2                     2.4                   L         ...           \n",
       "3                     2.0                   L         ...           \n",
       "4                     1.5                   T         ...           \n",
       "5                     1.6                   L         ...           \n",
       "6                     1.0                   L         ...           \n",
       "7                     1.5                   L         ...           \n",
       "8                     1.4                   L         ...           \n",
       "9                     1.6                   T         ...           \n",
       "10                    1.5                   L         ...           \n",
       "11                    1.5                   L         ...           \n",
       "12                    2.0                   T         ...           \n",
       "13                    1.5                   T         ...           \n",
       "14                    1.4                   T         ...           \n",
       "15                    1.4                   T         ...           \n",
       "16                    1.4                   L         ...           \n",
       "17                    2.0                   L         ...           \n",
       "18                    1.5                   T         ...           \n",
       "19                    1.5                   L         ...           \n",
       "20                    1.5                   L         ...           \n",
       "21                    1.8                   T         ...           \n",
       "22                    1.4                   T         ...           \n",
       "23                    1.5                   L         ...           \n",
       "24                    1.3                   T         ...           \n",
       "25                    2.0                   L         ...           \n",
       "26                    2.0                   L         ...           \n",
       "27                    1.6                   L         ...           \n",
       "28                    1.5                   L         ...           \n",
       "29                    1.6                   L         ...           \n",
       "..                    ...                 ...         ...           \n",
       "110                   1.6                   L         ...           \n",
       "111                   1.5                   T         ...           \n",
       "112                   2.4                   L         ...           \n",
       "113                   1.6                   L         ...           \n",
       "114                   1.5                   L         ...           \n",
       "115                   1.6                   L         ...           \n",
       "116                   1.4                   T         ...           \n",
       "117                   2.0                   L         ...           \n",
       "118                   1.8                   T         ...           \n",
       "119                   2.0                   T         ...           \n",
       "120                   1.8                   L         ...           \n",
       "121                   1.5                   L         ...           \n",
       "122                   1.5                   T         ...           \n",
       "123                   1.5                   T         ...           \n",
       "124                   2.0                   T         ...           \n",
       "125                   1.8                   T         ...           \n",
       "126                   1.5                   L         ...           \n",
       "127                   1.5                   T         ...           \n",
       "128                   1.4                   T         ...           \n",
       "129                   1.6                   L         ...           \n",
       "130                   2.0                   L         ...           \n",
       "131                   1.5                   L         ...           \n",
       "132                   1.5                   L         ...           \n",
       "133                   1.5                   T         ...           \n",
       "134                   1.6                   T         ...           \n",
       "135                   2.0                   L         ...           \n",
       "136                   1.6                   L         ...           \n",
       "137                   1.6                   L         ...           \n",
       "138                   1.5                   T         ...           \n",
       "139                   1.5                   L         ...           \n",
       "\n",
       "     OC_mode_engine_torque  OC_mode_car_length  OC_mode_car_width  \\\n",
       "0                    150.7                4270               1780   \n",
       "1                    230.0                4650               1850   \n",
       "2                    225.0                5213               1878   \n",
       "3                    190.0                4825               1825   \n",
       "4                    215.0                4715               1830   \n",
       "5                    155.0                4473               1706   \n",
       "6                     85.0                3730               1510   \n",
       "7                    146.0                4370               1809   \n",
       "8                    132.4                4240               1750   \n",
       "9                    265.0                4475               1850   \n",
       "10                   140.0                4547               1734   \n",
       "11                   146.0                4718               1802   \n",
       "12                   310.0                5055               1860   \n",
       "13                   210.0                4335               1814   \n",
       "14                   250.0                4385               1831   \n",
       "15                   225.0                4348               1807   \n",
       "16                   135.0                4370               1700   \n",
       "17                   200.0                4672               1843   \n",
       "18                   252.0                4923               1854   \n",
       "19                   135.0                4360               1685   \n",
       "20                   146.5                4415               1685   \n",
       "21                   250.0                4870               1834   \n",
       "22                   250.0                4462               1796   \n",
       "23                   148.0                4582               1795   \n",
       "24                   185.0                4440               1833   \n",
       "25                   190.0                4550               1820   \n",
       "26                   190.0                4843               1856   \n",
       "27                   160.0                4160               1810   \n",
       "28                   143.0                4354               1840   \n",
       "29                   154.0                4630               1775   \n",
       "..                     ...                 ...                ...   \n",
       "110                  215.0                4534               1823   \n",
       "111                  235.0                4530               1900   \n",
       "112                  155.5                4705               1810   \n",
       "113                  140.0                4570               1775   \n",
       "114                  155.0                4440               1700   \n",
       "115                  250.0                4282               1706   \n",
       "116                  199.0                4415               1819   \n",
       "117                  245.0                4450               1855   \n",
       "118                  400.0                4748               1933   \n",
       "119                  172.0                4812               1903   \n",
       "120                  150.0                4650               1750   \n",
       "121                  250.0                4314               1809   \n",
       "122                  240.0                4671               1835   \n",
       "123                  360.0                4524               1838   \n",
       "124                  250.0                4765               1931   \n",
       "125                  146.5                4865               1820   \n",
       "126                  225.0                4220               1740   \n",
       "127                  200.0                4810               1795   \n",
       "128                  155.0                4278               1774   \n",
       "129                  190.0                3970               1682   \n",
       "130                  142.0                4869               1854   \n",
       "131                  150.0                4587               1825   \n",
       "132                  250.0                4520               1790   \n",
       "133                  265.0                4545               1855   \n",
       "134                  198.0                4480               1855   \n",
       "135                  160.0                4315               1783   \n",
       "136                  150.7                4487               1706   \n",
       "137                  243.0                4270               1780   \n",
       "138                  140.0                4816               1942   \n",
       "139                    NaN                4631               1789   \n",
       "\n",
       "     OC_mode_car_height  OC_mode_total_quality  OC_mode_equipment_quality  \\\n",
       "0                  1630                   1830                       1325   \n",
       "1                  1695                   2075                       1665   \n",
       "2                  1772                   2470                       1840   \n",
       "3                  1480                   2000                       1465   \n",
       "4                  1780                   2095                       1570   \n",
       "5                  1469                   1600                       1120   \n",
       "6                  1860                   1575                        985   \n",
       "7                  1461                   1715                       1280   \n",
       "8                  1505                   1570                       1145   \n",
       "9                  1655                   2090                       1541   \n",
       "10                 1470                   1620                       1210   \n",
       "11                 1466                   1745                       1295   \n",
       "12                 1491                   2250                       1790   \n",
       "13                 1695                   1910                       1495   \n",
       "14                 1589                   2020                       1500   \n",
       "15                 1574                   1880                       1425   \n",
       "16                 1460                   1500                       1039   \n",
       "17                 1678                   2004                       1557   \n",
       "18                 1470                   1865                       1415   \n",
       "19                 1820                   1925                       1325   \n",
       "20                 1850                   1825                       1256   \n",
       "21                 1472                   2060                       1520   \n",
       "22                 1421                   1795                       1345   \n",
       "23                 1458                   1820                       1286   \n",
       "24                 1545                   1773                       1398   \n",
       "25                 1685                   2010                       1625   \n",
       "26                 1484                   2020                       1585   \n",
       "27                 1635                   1645                       1270   \n",
       "28                 1654                   1670                       1285   \n",
       "29                 1480                   1770                       1305   \n",
       "..                  ...                    ...                        ...   \n",
       "110                1483                   1712                       1337   \n",
       "111                1700                   1920                       1545   \n",
       "112                1680                   2210                       1440   \n",
       "113                1445                   1642                       1267   \n",
       "114                1490                   1500                       1090   \n",
       "115                1475                   1635                       1155   \n",
       "116                1625                   1830                       1455   \n",
       "117                1635                   1980                       1470   \n",
       "118                1697                   2162                       1787   \n",
       "119                1680                   2275                       1795   \n",
       "120                1505                   1650                       1275   \n",
       "121                1624                   1690                       1258   \n",
       "122                1464                   1720                       1270   \n",
       "123                1685                   1967                       1592   \n",
       "124                1655                   2505                       1960   \n",
       "125                1475                   2000                       1545   \n",
       "126                1625                   1580                       1206   \n",
       "127                1730                   1980                       1490   \n",
       "128                1646                   1840                       1430   \n",
       "129                1462                   1600                       1120   \n",
       "130                1472                   1985                       1565   \n",
       "131                1490                   1675                       1300   \n",
       "132                1750                   1960                       1435   \n",
       "133                1690                   1876                       1501   \n",
       "134                1645                   2090                       1576   \n",
       "135                1606                   1930                       1403   \n",
       "136                1470                   1600                       1120   \n",
       "137                1622                   1752                       1341   \n",
       "138                1669                   2180                       1708   \n",
       "139                1470                   1625                       1250   \n",
       "\n",
       "     OC_mode_rated_passenger  OC_mode_wheelbase  OC_mode_front_track  \\\n",
       "0                          5               2590                 1557   \n",
       "1                          5               2700                 1565   \n",
       "2                          7               3088                 1593   \n",
       "3                          5               2775                 1575   \n",
       "4                          7               2760                 1547   \n",
       "5                          5               2603                 1460   \n",
       "6                          7               2500                 1290   \n",
       "7                          5               2662                 1540   \n",
       "8                          5               2600                 1524   \n",
       "9                          5               2670                 1620   \n",
       "10                         5               2600                 1490   \n",
       "11                         5               2700                 1540   \n",
       "12                         5               3108                 1600   \n",
       "13                         5               2560                 1525   \n",
       "14                         5               2603                 1571   \n",
       "15                         5               2680                 1549   \n",
       "16                         5               2570                 1511   \n",
       "17                         5               2705                 1597   \n",
       "18                         5               2829                 1606   \n",
       "19                       7-8               2750                 1425   \n",
       "20                         5               2720                 1420   \n",
       "21                         5               2803                 1577   \n",
       "22                         5               2629                 1552   \n",
       "23                         5               2700                 1555   \n",
       "24                         5               2700                 1556   \n",
       "25                         5               2620                 1565   \n",
       "26                         5               2737                 1585   \n",
       "27                         5               2560                 1560   \n",
       "28                         5               2610                 1585   \n",
       "29                         5               2700                 1535   \n",
       "..                       ...                ...                  ...   \n",
       "110                        5               2648                 1553   \n",
       "111                        5               2700                 1601   \n",
       "112                        5               2670                 1540   \n",
       "113                        5               2700                 1549   \n",
       "114                        5               2550                 1460   \n",
       "115                        5               2603                 1460   \n",
       "116                        5               2636                 1544   \n",
       "117                        5               2640                 1614   \n",
       "118                        5               2850                 1641   \n",
       "119                        5               2857                 1645   \n",
       "120                        5               2650                 1500   \n",
       "121                        5               2585                 1526   \n",
       "122                        5               2715                 1562   \n",
       "123                        5               2690                 1563   \n",
       "124                        5               2950                 1655   \n",
       "125                        5               2812                 1552   \n",
       "126                        5               2550                 1490   \n",
       "127                        7               2760                 1535   \n",
       "128                        5               2555                 1540   \n",
       "129                        5               2470                 1463   \n",
       "130                        5               2737                 1585   \n",
       "131                        5               2687                 1562   \n",
       "132                      6-7               2700                 1450   \n",
       "133                        5               2700                 1574   \n",
       "134                        5               2670                 1625   \n",
       "135                        5               2630                 1540   \n",
       "136                        5               2603                 1460   \n",
       "137                        5               2590                 1557   \n",
       "138                        5               2820                 1652   \n",
       "139                        5               2650                 1502   \n",
       "\n",
       "     OC_mode_rear_track  \n",
       "0                  1570  \n",
       "1                  1565  \n",
       "2                  1601  \n",
       "3                  1560  \n",
       "4                  1550  \n",
       "5                  1500  \n",
       "6                  1290  \n",
       "7                  1562  \n",
       "8                  1529  \n",
       "9                  1631  \n",
       "10                 1470  \n",
       "11                 1558  \n",
       "12                 1627  \n",
       "13                 1520  \n",
       "14                 1575  \n",
       "15                 1521  \n",
       "16                 1515  \n",
       "17                 1589  \n",
       "18                 1609  \n",
       "19                 1435  \n",
       "20                 1440  \n",
       "21                 1550  \n",
       "22                 1520  \n",
       "23                 1560  \n",
       "24                 1562  \n",
       "25                 1565  \n",
       "26                 1588  \n",
       "27                 1560  \n",
       "28                 1586  \n",
       "29                 1535  \n",
       "..                  ...  \n",
       "110                1544  \n",
       "111                1602  \n",
       "112                1540  \n",
       "113                1562  \n",
       "114                1460  \n",
       "115                1500  \n",
       "116                1544  \n",
       "117                1615  \n",
       "118                1642  \n",
       "119                1645  \n",
       "120                1485  \n",
       "121                1536  \n",
       "122                1571  \n",
       "123                1565  \n",
       "124                1606  \n",
       "125                1551  \n",
       "126                1496  \n",
       "127                1530  \n",
       "128                1540  \n",
       "129                1456  \n",
       "130                1587  \n",
       "131                1548  \n",
       "132                1480  \n",
       "133                1593  \n",
       "134                1636  \n",
       "135                1545  \n",
       "136                1500  \n",
       "137                1570  \n",
       "138                1671  \n",
       "139                1492  \n",
       "\n",
       "[140 rows x 30 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 咱这里所谓的众数 【OC_mode_XXX】\n",
    "modes = df[['class_id','brand_id']].groupby('class_id').first().reset_index()\n",
    "for col_name in df.drop(['class_id','sale_date','sale_quantity','brand_id'], axis=1).columns.values:\n",
    "    gd = df.groupby(['class_id',col_name]).sum().sort_values(ascending=False, by=['sale_quantity']).reset_index()\n",
    "    modes['OC_mode_' + col_name] = gd.groupby('class_id').first().reset_index()[col_name]\n",
    "\n",
    "modes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 下面所提到的ndf，为new df的简称，意为依据指定的特征构造出来的新数据集\n",
    "# 车型各种信息的统计量\n",
    "# 【注意】这里要先drop掉sale_quantity，因为实际测试时不可能有这个字段的统计量的！！\n",
    "# 【扯淡！】这里的所谓sale_quantity，在进行统计时，意义其实是历史上的销量，是可以存在的！！因为最后测试集也是直接拿这个ndf过去join，实际上是取历史销量的信息！是可以有的！\n",
    "# ndf = df.drop('sale_quantity', axis=1).groupby('class_id').describe()\n",
    "ndf = df[['class_id',  'price','price_level','sale_quantity','displacement',\n",
    "          'power','cylinder_number','engine_torque','car_length',\n",
    "          'car_height','car_width','total_quality','equipment_quality','wheelbase',\n",
    "          'front_track','rear_track']].groupby('class_id').describe()\n",
    "\n",
    "# 车型销量总数\n",
    "ndf['sale_quantity_total'] = df.groupby('class_id')['sale_quantity'].sum()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "# 统计每个月有多少个车型在售\n",
    "selling_cls_in_month = df[['sale_date', 'class_id']].groupby(['sale_date', 'class_id']).size().unstack()\n",
    "# 这个基础上count一下，就是每个车型一共有多少个月有售\n",
    "OC_sale_month_cnt = selling_cls_in_month.count()\n",
    "\n",
    "# 该车型月均销售量\n",
    "# OC_month_sale_avg = ndf['sale_quantity_total'] / OC_sale_month_cnt\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\xiao\\Anaconda3\\lib\\site-packages\\pandas\\core\\reshape\\merge.py:551: UserWarning: merging between different levels can give an unintended result (1 levels on the left, 2 on the right)\n",
      "  warnings.warn(msg, UserWarning)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>class_id</th>\n",
       "      <th>brand_id</th>\n",
       "      <th>OC_mode_compartment</th>\n",
       "      <th>OC_mode_type_id</th>\n",
       "      <th>OC_mode_level_id</th>\n",
       "      <th>OC_mode_department_id</th>\n",
       "      <th>OC_mode_TR</th>\n",
       "      <th>OC_mode_gearbox_type</th>\n",
       "      <th>OC_mode_displacement</th>\n",
       "      <th>OC_mode_if_charging</th>\n",
       "      <th>...</th>\n",
       "      <th>(wheelbase, mean)</th>\n",
       "      <th>(wheelbase, std)</th>\n",
       "      <th>(wheelbase, min)</th>\n",
       "      <th>(wheelbase, 25%)</th>\n",
       "      <th>(wheelbase, 50%)</th>\n",
       "      <th>(wheelbase, 75%)</th>\n",
       "      <th>(wheelbase, max)</th>\n",
       "      <th>(sale_quantity_total, )</th>\n",
       "      <th>OC_sale_month_cnt</th>\n",
       "      <th>OC_month_sale_avg</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>103507</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2590.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>16905</td>\n",
       "      <td>31</td>\n",
       "      <td>545.322581</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>124140</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>10974</td>\n",
       "      <td>41</td>\n",
       "      <td>267.658537</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>125403</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>3088.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>3088.0</td>\n",
       "      <td>12124</td>\n",
       "      <td>69</td>\n",
       "      <td>175.710145</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>136916</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2775.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>2775.0</td>\n",
       "      <td>21685</td>\n",
       "      <td>69</td>\n",
       "      <td>314.275362</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>169673</td>\n",
       "      <td>682</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2760.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>429</td>\n",
       "      <td>4</td>\n",
       "      <td>107.250000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>175962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2603.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>20407</td>\n",
       "      <td>58</td>\n",
       "      <td>351.844828</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>178529</td>\n",
       "      <td>98</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2557.239057</td>\n",
       "      <td>105.217536</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2500.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>41057</td>\n",
       "      <td>69</td>\n",
       "      <td>595.028986</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>186250</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2662.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2662.0</td>\n",
       "      <td>2619</td>\n",
       "      <td>20</td>\n",
       "      <td>130.950000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>194201</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2600.000000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>239</td>\n",
       "      <td>1</td>\n",
       "      <td>239.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>194450</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2646.766467</td>\n",
       "      <td>19.796235</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>7317</td>\n",
       "      <td>68</td>\n",
       "      <td>107.602941</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>198427</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2600.552632</td>\n",
       "      <td>0.900292</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2602.0</td>\n",
       "      <td>2602.0</td>\n",
       "      <td>4027</td>\n",
       "      <td>52</td>\n",
       "      <td>77.442308</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>206765</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>4.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>34152</td>\n",
       "      <td>27</td>\n",
       "      <td>1264.888889</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>209945</td>\n",
       "      <td>814</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>3108.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>3108.0</td>\n",
       "      <td>21505</td>\n",
       "      <td>69</td>\n",
       "      <td>311.666667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>219195</td>\n",
       "      <td>638</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2560.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>8190</td>\n",
       "      <td>38</td>\n",
       "      <td>215.526316</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>221795</td>\n",
       "      <td>872</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2603.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>12665</td>\n",
       "      <td>54</td>\n",
       "      <td>234.537037</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>245609</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2680.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>2680.0</td>\n",
       "      <td>1809</td>\n",
       "      <td>18</td>\n",
       "      <td>100.500000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>248352</td>\n",
       "      <td>831</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2572.038217</td>\n",
       "      <td>7.557343</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2570.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>64843</td>\n",
       "      <td>69</td>\n",
       "      <td>939.753623</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>249875</td>\n",
       "      <td>294</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>6</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2705.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>2705.0</td>\n",
       "      <td>1500</td>\n",
       "      <td>11</td>\n",
       "      <td>136.363636</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>250658</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2829.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>2620</td>\n",
       "      <td>19</td>\n",
       "      <td>137.894737</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>265980</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2750.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>2750.0</td>\n",
       "      <td>19605</td>\n",
       "      <td>68</td>\n",
       "      <td>288.308824</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>270690</td>\n",
       "      <td>98</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2720.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>2720.0</td>\n",
       "      <td>31944</td>\n",
       "      <td>33</td>\n",
       "      <td>968.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>281301</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2803.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>2803.0</td>\n",
       "      <td>51165</td>\n",
       "      <td>69</td>\n",
       "      <td>741.521739</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>281792</td>\n",
       "      <td>872</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2629.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>2629.0</td>\n",
       "      <td>11407</td>\n",
       "      <td>40</td>\n",
       "      <td>285.175000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>289386</td>\n",
       "      <td>813</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>13611</td>\n",
       "      <td>40</td>\n",
       "      <td>340.275000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>289403</td>\n",
       "      <td>12</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.3</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>3593</td>\n",
       "      <td>17</td>\n",
       "      <td>211.352941</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>290854</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2621.372032</td>\n",
       "      <td>7.289650</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2620.0</td>\n",
       "      <td>2660.0</td>\n",
       "      <td>19071</td>\n",
       "      <td>69</td>\n",
       "      <td>276.391304</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>291086</td>\n",
       "      <td>761</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2738.862348</td>\n",
       "      <td>12.982684</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2829.0</td>\n",
       "      <td>52526</td>\n",
       "      <td>69</td>\n",
       "      <td>761.246377</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>291514</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2560.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>2560.0</td>\n",
       "      <td>5515</td>\n",
       "      <td>59</td>\n",
       "      <td>93.474576</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>302513</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2610.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>2610.0</td>\n",
       "      <td>1469</td>\n",
       "      <td>11</td>\n",
       "      <td>133.545455</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>304458</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2668.985507</td>\n",
       "      <td>46.322458</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2600.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>26149</td>\n",
       "      <td>69</td>\n",
       "      <td>378.971014</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>110</th>\n",
       "      <td>745137</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2648.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>2648.0</td>\n",
       "      <td>52559</td>\n",
       "      <td>65</td>\n",
       "      <td>808.600000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>111</th>\n",
       "      <td>750340</td>\n",
       "      <td>864</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>3887</td>\n",
       "      <td>27</td>\n",
       "      <td>143.962963</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>112</th>\n",
       "      <td>760412</td>\n",
       "      <td>542</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.4</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2670.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>308</td>\n",
       "      <td>9</td>\n",
       "      <td>34.222222</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113</th>\n",
       "      <td>786351</td>\n",
       "      <td>836</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>34487</td>\n",
       "      <td>61</td>\n",
       "      <td>565.360656</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>114</th>\n",
       "      <td>789290</td>\n",
       "      <td>106</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2550.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>233</td>\n",
       "      <td>7</td>\n",
       "      <td>33.285714</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>115</th>\n",
       "      <td>810398</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2603.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>1952</td>\n",
       "      <td>26</td>\n",
       "      <td>75.076923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>116</th>\n",
       "      <td>815230</td>\n",
       "      <td>49</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2636.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>2636.0</td>\n",
       "      <td>1337</td>\n",
       "      <td>9</td>\n",
       "      <td>148.555556</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>117</th>\n",
       "      <td>819061</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2640.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>46559</td>\n",
       "      <td>69</td>\n",
       "      <td>674.768116</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>842246</td>\n",
       "      <td>68</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2850.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>2850.0</td>\n",
       "      <td>651</td>\n",
       "      <td>4</td>\n",
       "      <td>162.750000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>119</th>\n",
       "      <td>851857</td>\n",
       "      <td>75</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>8</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2857.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>2857.0</td>\n",
       "      <td>3244</td>\n",
       "      <td>18</td>\n",
       "      <td>180.222222</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>120</th>\n",
       "      <td>854079</td>\n",
       "      <td>537</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>5</td>\n",
       "      <td>5</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2650.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>14525</td>\n",
       "      <td>51</td>\n",
       "      <td>284.803922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>121</th>\n",
       "      <td>854548</td>\n",
       "      <td>126</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>4</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2585.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>2585.0</td>\n",
       "      <td>639</td>\n",
       "      <td>7</td>\n",
       "      <td>91.285714</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>122</th>\n",
       "      <td>861459</td>\n",
       "      <td>498</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2715.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>2715.0</td>\n",
       "      <td>1420</td>\n",
       "      <td>7</td>\n",
       "      <td>202.857143</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>123</th>\n",
       "      <td>871642</td>\n",
       "      <td>637</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2682.469880</td>\n",
       "      <td>17.937154</td>\n",
       "      <td>2640.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>2690.0</td>\n",
       "      <td>9416</td>\n",
       "      <td>53</td>\n",
       "      <td>177.660377</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>124</th>\n",
       "      <td>872180</td>\n",
       "      <td>76</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2950.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>2950.0</td>\n",
       "      <td>416</td>\n",
       "      <td>3</td>\n",
       "      <td>138.666667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>125</th>\n",
       "      <td>883691</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.8</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2822.915000</td>\n",
       "      <td>22.967046</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2812.0</td>\n",
       "      <td>2871.0</td>\n",
       "      <td>19780</td>\n",
       "      <td>69</td>\n",
       "      <td>286.666667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>126</th>\n",
       "      <td>890189</td>\n",
       "      <td>290</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>7</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2550.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>2550.0</td>\n",
       "      <td>7307</td>\n",
       "      <td>9</td>\n",
       "      <td>811.888889</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>127</th>\n",
       "      <td>905061</td>\n",
       "      <td>783</td>\n",
       "      <td>2</td>\n",
       "      <td>3</td>\n",
       "      <td>3.0</td>\n",
       "      <td>1</td>\n",
       "      <td>6</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2760.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>2760.0</td>\n",
       "      <td>265</td>\n",
       "      <td>3</td>\n",
       "      <td>88.333333</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>128</th>\n",
       "      <td>905745</td>\n",
       "      <td>761</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>3.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.4</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2555.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>2555.0</td>\n",
       "      <td>10184</td>\n",
       "      <td>59</td>\n",
       "      <td>172.610169</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>129</th>\n",
       "      <td>914348</td>\n",
       "      <td>750</td>\n",
       "      <td>2</td>\n",
       "      <td>2</td>\n",
       "      <td>2.0</td>\n",
       "      <td>4</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2469.619048</td>\n",
       "      <td>1.372286</td>\n",
       "      <td>2460.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>2470.0</td>\n",
       "      <td>34925</td>\n",
       "      <td>69</td>\n",
       "      <td>506.159420</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>130</th>\n",
       "      <td>923841</td>\n",
       "      <td>450</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2737.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>2737.0</td>\n",
       "      <td>39209</td>\n",
       "      <td>67</td>\n",
       "      <td>585.208955</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>131</th>\n",
       "      <td>924154</td>\n",
       "      <td>637</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>1.0</td>\n",
       "      <td>2</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2687.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>2687.0</td>\n",
       "      <td>32809</td>\n",
       "      <td>33</td>\n",
       "      <td>994.212121</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>132</th>\n",
       "      <td>948936</td>\n",
       "      <td>512</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>1257</td>\n",
       "      <td>12</td>\n",
       "      <td>104.750000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>133</th>\n",
       "      <td>950264</td>\n",
       "      <td>498</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>1</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2700.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>2700.0</td>\n",
       "      <td>11062</td>\n",
       "      <td>15</td>\n",
       "      <td>737.466667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>134</th>\n",
       "      <td>953842</td>\n",
       "      <td>831</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>3</td>\n",
       "      <td>7</td>\n",
       "      <td>DCT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2670.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>2670.0</td>\n",
       "      <td>18342</td>\n",
       "      <td>20</td>\n",
       "      <td>917.100000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>135</th>\n",
       "      <td>961362</td>\n",
       "      <td>692</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>2.0</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2633.443038</td>\n",
       "      <td>6.589180</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2630.0</td>\n",
       "      <td>2646.0</td>\n",
       "      <td>4873</td>\n",
       "      <td>69</td>\n",
       "      <td>70.623188</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>961962</td>\n",
       "      <td>750</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>3.0</td>\n",
       "      <td>4</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2592.384615</td>\n",
       "      <td>36.228963</td>\n",
       "      <td>2471.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2603.0</td>\n",
       "      <td>2604.0</td>\n",
       "      <td>8769</td>\n",
       "      <td>69</td>\n",
       "      <td>127.086957</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>137</th>\n",
       "      <td>963845</td>\n",
       "      <td>836</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>2.0</td>\n",
       "      <td>3</td>\n",
       "      <td>6</td>\n",
       "      <td>AT</td>\n",
       "      <td>1.6</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2590.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>2590.0</td>\n",
       "      <td>9895</td>\n",
       "      <td>36</td>\n",
       "      <td>274.861111</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>138</th>\n",
       "      <td>973106</td>\n",
       "      <td>537</td>\n",
       "      <td>2</td>\n",
       "      <td>1</td>\n",
       "      <td>1.0</td>\n",
       "      <td>5</td>\n",
       "      <td>0</td>\n",
       "      <td>CVT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>T</td>\n",
       "      <td>...</td>\n",
       "      <td>2820.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>2820.0</td>\n",
       "      <td>1285</td>\n",
       "      <td>11</td>\n",
       "      <td>116.818182</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>139</th>\n",
       "      <td>978089</td>\n",
       "      <td>12</td>\n",
       "      <td>3</td>\n",
       "      <td>2</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>5</td>\n",
       "      <td>MT</td>\n",
       "      <td>1.5</td>\n",
       "      <td>L</td>\n",
       "      <td>...</td>\n",
       "      <td>2650.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>2650.0</td>\n",
       "      <td>20205</td>\n",
       "      <td>38</td>\n",
       "      <td>531.710526</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>140 rows × 153 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     class_id  brand_id  OC_mode_compartment  OC_mode_type_id  \\\n",
       "0      103507       831                    2                1   \n",
       "1      124140       783                    2                1   \n",
       "2      125403       761                    2                3   \n",
       "3      136916       106                    3                2   \n",
       "4      169673       682                    2                1   \n",
       "5      175962       750                    3                2   \n",
       "6      178529        98                    1                4   \n",
       "7      186250       761                    2                2   \n",
       "8      194201       831                    2                2   \n",
       "9      194450       836                    2                1   \n",
       "10     198427        12                    3                2   \n",
       "11     206765       761                    3                2   \n",
       "12     209945       814                    3                2   \n",
       "13     219195       638                    2                1   \n",
       "14     221795       872                    2                1   \n",
       "15     245609       750                    2                2   \n",
       "16     248352       831                    3                2   \n",
       "17     249875       294                    2                1   \n",
       "18     250658       450                    3                2   \n",
       "19     265980       783                    2                3   \n",
       "20     270690        98                    2                3   \n",
       "21     281301       750                    3                2   \n",
       "22     281792       872                    3                2   \n",
       "23     289386       813                    3                2   \n",
       "24     289403        12                    2                1   \n",
       "25     290854       537                    2                1   \n",
       "26     291086       761                    3                2   \n",
       "27     291514       783                    2                1   \n",
       "28     302513       864                    2                1   \n",
       "29     304458       106                    3                2   \n",
       "..        ...       ...                  ...              ...   \n",
       "110    745137       637                    3                2   \n",
       "111    750340       864                    2                1   \n",
       "112    760412       542                    2                1   \n",
       "113    786351       836                    3                2   \n",
       "114    789290       106                    3                2   \n",
       "115    810398       750                    2                2   \n",
       "116    815230        49                    2                1   \n",
       "117    819061       831                    2                1   \n",
       "118    842246        68                    2                1   \n",
       "119    851857        75                    2                1   \n",
       "120    854079       537                    3                2   \n",
       "121    854548       126                    2                1   \n",
       "122    861459       498                    3                2   \n",
       "123    871642       637                    2                1   \n",
       "124    872180        76                    2                1   \n",
       "125    883691       750                    3                2   \n",
       "126    890189       290                    2                1   \n",
       "127    905061       783                    2                3   \n",
       "128    905745       761                    2                1   \n",
       "129    914348       750                    2                2   \n",
       "130    923841       450                    3                2   \n",
       "131    924154       637                    3                2   \n",
       "132    948936       512                    2                1   \n",
       "133    950264       498                    2                1   \n",
       "134    953842       831                    2                1   \n",
       "135    961362       692                    2                1   \n",
       "136    961962       750                    3                2   \n",
       "137    963845       836                    2                1   \n",
       "138    973106       537                    2                1   \n",
       "139    978089        12                    3                2   \n",
       "\n",
       "     OC_mode_level_id  OC_mode_department_id OC_mode_TR OC_mode_gearbox_type  \\\n",
       "0                 3.0                      3          6                   AT   \n",
       "1                 1.0                      1          6                   AT   \n",
       "2                 2.0                      2          6                   AT   \n",
       "3                 2.0                      5          4                   AT   \n",
       "4                 2.0                      1          6                   MT   \n",
       "5                 1.0                      4          5                   MT   \n",
       "6                 1.0                      1          5                   MT   \n",
       "7                 3.0                      2          6                   AT   \n",
       "8                 1.0                      3          6                   AT   \n",
       "9                 1.0                      3          7                  DCT   \n",
       "10                1.0                      1          5                   MT   \n",
       "11                4.0                      2          6                   AT   \n",
       "12                3.0                      4          8                   AT   \n",
       "13                1.0                      1          6                   MT   \n",
       "14                1.0                      4          6                  DCT   \n",
       "15                3.0                      4          7                  DCT   \n",
       "16                1.0                      3          4                   AT   \n",
       "17                2.0                      6          0                  CVT   \n",
       "18                3.0                      2          7                  DCT   \n",
       "19                3.0                      1          5                   MT   \n",
       "20                2.0                      1          5                   MT   \n",
       "21                1.0                      4          7                  DCT   \n",
       "22                1.0                      4          7                  DCT   \n",
       "23                1.0                      5          6                   AT   \n",
       "24                1.0                      1          6                  DCT   \n",
       "25                2.0                      5          5                   AT   \n",
       "26                3.0                      2          6                   AT   \n",
       "27                3.0                      1          5                   MT   \n",
       "28                1.0                      1          5                   MT   \n",
       "29                1.0                      5          0                  CVT   \n",
       "..                ...                    ...        ...                  ...   \n",
       "110               1.0                      2          6                  DCT   \n",
       "111               1.0                      1          5                   AT   \n",
       "112               1.0                      5          0                  CVT   \n",
       "113               3.0                      3          6                   AT   \n",
       "114               1.0                      5          0                  CVT   \n",
       "115               1.0                      4          6                   AT   \n",
       "116               1.0                      2          7                  DCT   \n",
       "117               2.0                      3          6                   AT   \n",
       "118               2.0                      1          6                  DCT   \n",
       "119               1.0                      2          8                   AT   \n",
       "120               3.0                      5          5                   AT   \n",
       "121               1.0                      1          4                   AT   \n",
       "122               1.0                      1          7                  DCT   \n",
       "123               2.0                      2          6                   AT   \n",
       "124               2.0                      1          7                  DCT   \n",
       "125               3.0                      4          7                  DCT   \n",
       "126               1.0                      7          6                   MT   \n",
       "127               3.0                      1          6                   MT   \n",
       "128               3.0                      2          6                   AT   \n",
       "129               2.0                      4          6                   AT   \n",
       "130               1.0                      2          6                   AT   \n",
       "131               1.0                      2          6                   AT   \n",
       "132               1.0                      1          5                   MT   \n",
       "133               1.0                      1          7                  DCT   \n",
       "134               1.0                      3          7                  DCT   \n",
       "135               1.0                      5          0                  CVT   \n",
       "136               3.0                      4          5                   MT   \n",
       "137               2.0                      3          6                   AT   \n",
       "138               1.0                      5          0                  CVT   \n",
       "139               NaN                      1          5                   MT   \n",
       "\n",
       "     OC_mode_displacement OC_mode_if_charging        ...          \\\n",
       "0                     1.6                   L        ...           \n",
       "1                     1.8                   T        ...           \n",
       "2                     2.4                   L        ...           \n",
       "3                     2.0                   L        ...           \n",
       "4                     1.5                   T        ...           \n",
       "5                     1.6                   L        ...           \n",
       "6                     1.0                   L        ...           \n",
       "7                     1.5                   L        ...           \n",
       "8                     1.4                   L        ...           \n",
       "9                     1.6                   T        ...           \n",
       "10                    1.5                   L        ...           \n",
       "11                    1.5                   L        ...           \n",
       "12                    2.0                   T        ...           \n",
       "13                    1.5                   T        ...           \n",
       "14                    1.4                   T        ...           \n",
       "15                    1.4                   T        ...           \n",
       "16                    1.4                   L        ...           \n",
       "17                    2.0                   L        ...           \n",
       "18                    1.5                   T        ...           \n",
       "19                    1.5                   L        ...           \n",
       "20                    1.5                   L        ...           \n",
       "21                    1.8                   T        ...           \n",
       "22                    1.4                   T        ...           \n",
       "23                    1.5                   L        ...           \n",
       "24                    1.3                   T        ...           \n",
       "25                    2.0                   L        ...           \n",
       "26                    2.0                   L        ...           \n",
       "27                    1.6                   L        ...           \n",
       "28                    1.5                   L        ...           \n",
       "29                    1.6                   L        ...           \n",
       "..                    ...                 ...        ...           \n",
       "110                   1.6                   L        ...           \n",
       "111                   1.5                   T        ...           \n",
       "112                   2.4                   L        ...           \n",
       "113                   1.6                   L        ...           \n",
       "114                   1.5                   L        ...           \n",
       "115                   1.6                   L        ...           \n",
       "116                   1.4                   T        ...           \n",
       "117                   2.0                   L        ...           \n",
       "118                   1.8                   T        ...           \n",
       "119                   2.0                   T        ...           \n",
       "120                   1.8                   L        ...           \n",
       "121                   1.5                   L        ...           \n",
       "122                   1.5                   T        ...           \n",
       "123                   1.5                   T        ...           \n",
       "124                   2.0                   T        ...           \n",
       "125                   1.8                   T        ...           \n",
       "126                   1.5                   L        ...           \n",
       "127                   1.5                   T        ...           \n",
       "128                   1.4                   T        ...           \n",
       "129                   1.6                   L        ...           \n",
       "130                   2.0                   L        ...           \n",
       "131                   1.5                   L        ...           \n",
       "132                   1.5                   L        ...           \n",
       "133                   1.5                   T        ...           \n",
       "134                   1.6                   T        ...           \n",
       "135                   2.0                   L        ...           \n",
       "136                   1.6                   L        ...           \n",
       "137                   1.6                   L        ...           \n",
       "138                   1.5                   T        ...           \n",
       "139                   1.5                   L        ...           \n",
       "\n",
       "     (wheelbase, mean)  (wheelbase, std)  (wheelbase, min)  (wheelbase, 25%)  \\\n",
       "0          2590.000000          0.000000            2590.0            2590.0   \n",
       "1          2700.000000          0.000000            2700.0            2700.0   \n",
       "2          3088.000000          0.000000            3088.0            3088.0   \n",
       "3          2775.000000          0.000000            2775.0            2775.0   \n",
       "4          2760.000000          0.000000            2760.0            2760.0   \n",
       "5          2603.000000          0.000000            2603.0            2603.0   \n",
       "6          2557.239057        105.217536            2500.0            2500.0   \n",
       "7          2662.000000          0.000000            2662.0            2662.0   \n",
       "8          2600.000000               NaN            2600.0            2600.0   \n",
       "9          2646.766467         19.796235            2630.0            2630.0   \n",
       "10         2600.552632          0.900292            2600.0            2600.0   \n",
       "11         2700.000000          0.000000            2700.0            2700.0   \n",
       "12         3108.000000          0.000000            3108.0            3108.0   \n",
       "13         2560.000000          0.000000            2560.0            2560.0   \n",
       "14         2603.000000          0.000000            2603.0            2603.0   \n",
       "15         2680.000000          0.000000            2680.0            2680.0   \n",
       "16         2572.038217          7.557343            2570.0            2570.0   \n",
       "17         2705.000000          0.000000            2705.0            2705.0   \n",
       "18         2829.000000          0.000000            2829.0            2829.0   \n",
       "19         2750.000000          0.000000            2750.0            2750.0   \n",
       "20         2720.000000          0.000000            2720.0            2720.0   \n",
       "21         2803.000000          0.000000            2803.0            2803.0   \n",
       "22         2629.000000          0.000000            2629.0            2629.0   \n",
       "23         2700.000000          0.000000            2700.0            2700.0   \n",
       "24         2700.000000          0.000000            2700.0            2700.0   \n",
       "25         2621.372032          7.289650            2620.0            2620.0   \n",
       "26         2738.862348         12.982684            2737.0            2737.0   \n",
       "27         2560.000000          0.000000            2560.0            2560.0   \n",
       "28         2610.000000          0.000000            2610.0            2610.0   \n",
       "29         2668.985507         46.322458            2600.0            2600.0   \n",
       "..                 ...               ...               ...               ...   \n",
       "110        2648.000000          0.000000            2648.0            2648.0   \n",
       "111        2700.000000          0.000000            2700.0            2700.0   \n",
       "112        2670.000000          0.000000            2670.0            2670.0   \n",
       "113        2700.000000          0.000000            2700.0            2700.0   \n",
       "114        2550.000000          0.000000            2550.0            2550.0   \n",
       "115        2603.000000          0.000000            2603.0            2603.0   \n",
       "116        2636.000000          0.000000            2636.0            2636.0   \n",
       "117        2640.000000          0.000000            2640.0            2640.0   \n",
       "118        2850.000000          0.000000            2850.0            2850.0   \n",
       "119        2857.000000          0.000000            2857.0            2857.0   \n",
       "120        2650.000000          0.000000            2650.0            2650.0   \n",
       "121        2585.000000          0.000000            2585.0            2585.0   \n",
       "122        2715.000000          0.000000            2715.0            2715.0   \n",
       "123        2682.469880         17.937154            2640.0            2690.0   \n",
       "124        2950.000000          0.000000            2950.0            2950.0   \n",
       "125        2822.915000         22.967046            2812.0            2812.0   \n",
       "126        2550.000000          0.000000            2550.0            2550.0   \n",
       "127        2760.000000          0.000000            2760.0            2760.0   \n",
       "128        2555.000000          0.000000            2555.0            2555.0   \n",
       "129        2469.619048          1.372286            2460.0            2470.0   \n",
       "130        2737.000000          0.000000            2737.0            2737.0   \n",
       "131        2687.000000          0.000000            2687.0            2687.0   \n",
       "132        2700.000000          0.000000            2700.0            2700.0   \n",
       "133        2700.000000          0.000000            2700.0            2700.0   \n",
       "134        2670.000000          0.000000            2670.0            2670.0   \n",
       "135        2633.443038          6.589180            2630.0            2630.0   \n",
       "136        2592.384615         36.228963            2471.0            2603.0   \n",
       "137        2590.000000          0.000000            2590.0            2590.0   \n",
       "138        2820.000000          0.000000            2820.0            2820.0   \n",
       "139        2650.000000          0.000000            2650.0            2650.0   \n",
       "\n",
       "     (wheelbase, 50%)  (wheelbase, 75%)  (wheelbase, max)  \\\n",
       "0              2590.0            2590.0            2590.0   \n",
       "1              2700.0            2700.0            2700.0   \n",
       "2              3088.0            3088.0            3088.0   \n",
       "3              2775.0            2775.0            2775.0   \n",
       "4              2760.0            2760.0            2760.0   \n",
       "5              2603.0            2603.0            2603.0   \n",
       "6              2500.0            2500.0            2750.0   \n",
       "7              2662.0            2662.0            2662.0   \n",
       "8              2600.0            2600.0            2600.0   \n",
       "9              2630.0            2670.0            2670.0   \n",
       "10             2600.0            2602.0            2602.0   \n",
       "11             2700.0            2700.0            2700.0   \n",
       "12             3108.0            3108.0            3108.0   \n",
       "13             2560.0            2560.0            2560.0   \n",
       "14             2603.0            2603.0            2603.0   \n",
       "15             2680.0            2680.0            2680.0   \n",
       "16             2570.0            2570.0            2600.0   \n",
       "17             2705.0            2705.0            2705.0   \n",
       "18             2829.0            2829.0            2829.0   \n",
       "19             2750.0            2750.0            2750.0   \n",
       "20             2720.0            2720.0            2720.0   \n",
       "21             2803.0            2803.0            2803.0   \n",
       "22             2629.0            2629.0            2629.0   \n",
       "23             2700.0            2700.0            2700.0   \n",
       "24             2700.0            2700.0            2700.0   \n",
       "25             2620.0            2620.0            2660.0   \n",
       "26             2737.0            2737.0            2829.0   \n",
       "27             2560.0            2560.0            2560.0   \n",
       "28             2610.0            2610.0            2610.0   \n",
       "29             2700.0            2700.0            2700.0   \n",
       "..                ...               ...               ...   \n",
       "110            2648.0            2648.0            2648.0   \n",
       "111            2700.0            2700.0            2700.0   \n",
       "112            2670.0            2670.0            2670.0   \n",
       "113            2700.0            2700.0            2700.0   \n",
       "114            2550.0            2550.0            2550.0   \n",
       "115            2603.0            2603.0            2603.0   \n",
       "116            2636.0            2636.0            2636.0   \n",
       "117            2640.0            2640.0            2640.0   \n",
       "118            2850.0            2850.0            2850.0   \n",
       "119            2857.0            2857.0            2857.0   \n",
       "120            2650.0            2650.0            2650.0   \n",
       "121            2585.0            2585.0            2585.0   \n",
       "122            2715.0            2715.0            2715.0   \n",
       "123            2690.0            2690.0            2690.0   \n",
       "124            2950.0            2950.0            2950.0   \n",
       "125            2812.0            2812.0            2871.0   \n",
       "126            2550.0            2550.0            2550.0   \n",
       "127            2760.0            2760.0            2760.0   \n",
       "128            2555.0            2555.0            2555.0   \n",
       "129            2470.0            2470.0            2470.0   \n",
       "130            2737.0            2737.0            2737.0   \n",
       "131            2687.0            2687.0            2687.0   \n",
       "132            2700.0            2700.0            2700.0   \n",
       "133            2700.0            2700.0            2700.0   \n",
       "134            2670.0            2670.0            2670.0   \n",
       "135            2630.0            2630.0            2646.0   \n",
       "136            2603.0            2603.0            2604.0   \n",
       "137            2590.0            2590.0            2590.0   \n",
       "138            2820.0            2820.0            2820.0   \n",
       "139            2650.0            2650.0            2650.0   \n",
       "\n",
       "     (sale_quantity_total, )  OC_sale_month_cnt  OC_month_sale_avg  \n",
       "0                      16905                 31         545.322581  \n",
       "1                      10974                 41         267.658537  \n",
       "2                      12124                 69         175.710145  \n",
       "3                      21685                 69         314.275362  \n",
       "4                        429                  4         107.250000  \n",
       "5                      20407                 58         351.844828  \n",
       "6                      41057                 69         595.028986  \n",
       "7                       2619                 20         130.950000  \n",
       "8                        239                  1         239.000000  \n",
       "9                       7317                 68         107.602941  \n",
       "10                      4027                 52          77.442308  \n",
       "11                     34152                 27        1264.888889  \n",
       "12                     21505                 69         311.666667  \n",
       "13                      8190                 38         215.526316  \n",
       "14                     12665                 54         234.537037  \n",
       "15                      1809                 18         100.500000  \n",
       "16                     64843                 69         939.753623  \n",
       "17                      1500                 11         136.363636  \n",
       "18                      2620                 19         137.894737  \n",
       "19                     19605                 68         288.308824  \n",
       "20                     31944                 33         968.000000  \n",
       "21                     51165                 69         741.521739  \n",
       "22                     11407                 40         285.175000  \n",
       "23                     13611                 40         340.275000  \n",
       "24                      3593                 17         211.352941  \n",
       "25                     19071                 69         276.391304  \n",
       "26                     52526                 69         761.246377  \n",
       "27                      5515                 59          93.474576  \n",
       "28                      1469                 11         133.545455  \n",
       "29                     26149                 69         378.971014  \n",
       "..                       ...                ...                ...  \n",
       "110                    52559                 65         808.600000  \n",
       "111                     3887                 27         143.962963  \n",
       "112                      308                  9          34.222222  \n",
       "113                    34487                 61         565.360656  \n",
       "114                      233                  7          33.285714  \n",
       "115                     1952                 26          75.076923  \n",
       "116                     1337                  9         148.555556  \n",
       "117                    46559                 69         674.768116  \n",
       "118                      651                  4         162.750000  \n",
       "119                     3244                 18         180.222222  \n",
       "120                    14525                 51         284.803922  \n",
       "121                      639                  7          91.285714  \n",
       "122                     1420                  7         202.857143  \n",
       "123                     9416                 53         177.660377  \n",
       "124                      416                  3         138.666667  \n",
       "125                    19780                 69         286.666667  \n",
       "126                     7307                  9         811.888889  \n",
       "127                      265                  3          88.333333  \n",
       "128                    10184                 59         172.610169  \n",
       "129                    34925                 69         506.159420  \n",
       "130                    39209                 67         585.208955  \n",
       "131                    32809                 33         994.212121  \n",
       "132                     1257                 12         104.750000  \n",
       "133                    11062                 15         737.466667  \n",
       "134                    18342                 20         917.100000  \n",
       "135                     4873                 69          70.623188  \n",
       "136                     8769                 69         127.086957  \n",
       "137                     9895                 36         274.861111  \n",
       "138                     1285                 11         116.818182  \n",
       "139                    20205                 38         531.710526  \n",
       "\n",
       "[140 rows x 153 columns]"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 上面这几个结果join起来\n",
    "oc = pd.merge(modes, ndf, how='left', left_on='class_id', right_index=True)\n",
    "oc = pd.merge(oc, pd.DataFrame(OC_sale_month_cnt, columns=['OC_sale_month_cnt']), how='left', left_on='class_id', right_index=True)\n",
    "# 该车型月均销售量\n",
    "oc['OC_month_sale_avg'] = oc[('sale_quantity_total','')] / oc['OC_sale_month_cnt']\n",
    "\n",
    "oc"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 对类别类型的列做 onehot 编码\n",
    "oc_before_oh = oc\n",
    "oc = pd.get_dummies(oc) # 先将object类型的列给哑编码喽\n",
    "oc = pd.get_dummies(oc, columns=['brand_id','OC_mode_type_id','OC_mode_level_id','OC_mode_department_id','OC_mode_driven_type_id',\n",
    "                                 'OC_mode_fuel_type_id','OC_mode_newenergy_type_id','OC_mode_if_MPV_id',\n",
    "                                 'OC_mode_if_luxurious_id']) "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "class_id                           int64\n",
       "OC_mode_compartment                int64\n",
       "OC_mode_displacement             float64\n",
       "OC_mode_price_level                int64\n",
       "OC_mode_price                    float64\n",
       "OC_mode_emission_standards_id      int64\n",
       "OC_mode_power                    float64\n",
       "OC_mode_cylinder_number            int64\n",
       "OC_mode_engine_torque            float64\n",
       "OC_mode_car_length                 int64\n",
       "OC_mode_car_width                  int64\n",
       "OC_mode_car_height                 int64\n",
       "OC_mode_total_quality              int64\n",
       "OC_mode_equipment_quality          int64\n",
       "OC_mode_wheelbase                  int64\n",
       "OC_mode_front_track                int64\n",
       "OC_mode_rear_track                 int64\n",
       "(car_height, count)              float64\n",
       "(car_height, mean)               float64\n",
       "(car_height, std)                float64\n",
       "(car_height, min)                float64\n",
       "(car_height, 25%)                float64\n",
       "(car_height, 50%)                float64\n",
       "(car_height, 75%)                float64\n",
       "(car_height, max)                float64\n",
       "(car_length, count)              float64\n",
       "(car_length, mean)               float64\n",
       "(car_length, std)                float64\n",
       "(car_length, min)                float64\n",
       "(car_length, 25%)                float64\n",
       "                                  ...   \n",
       "brand_id_923                       uint8\n",
       "brand_id_953                       uint8\n",
       "brand_id_985                       uint8\n",
       "OC_mode_type_id_1                  uint8\n",
       "OC_mode_type_id_2                  uint8\n",
       "OC_mode_type_id_3                  uint8\n",
       "OC_mode_type_id_4                  uint8\n",
       "OC_mode_level_id_1.0               uint8\n",
       "OC_mode_level_id_2.0               uint8\n",
       "OC_mode_level_id_3.0               uint8\n",
       "OC_mode_level_id_4.0               uint8\n",
       "OC_mode_level_id_5.0               uint8\n",
       "OC_mode_department_id_1            uint8\n",
       "OC_mode_department_id_2            uint8\n",
       "OC_mode_department_id_3            uint8\n",
       "OC_mode_department_id_4            uint8\n",
       "OC_mode_department_id_5            uint8\n",
       "OC_mode_department_id_6            uint8\n",
       "OC_mode_department_id_7            uint8\n",
       "OC_mode_driven_type_id_1           uint8\n",
       "OC_mode_driven_type_id_2           uint8\n",
       "OC_mode_driven_type_id_3           uint8\n",
       "OC_mode_fuel_type_id_1.0           uint8\n",
       "OC_mode_fuel_type_id_4.0           uint8\n",
       "OC_mode_newenergy_type_id_1        uint8\n",
       "OC_mode_newenergy_type_id_3        uint8\n",
       "OC_mode_if_MPV_id_1                uint8\n",
       "OC_mode_if_MPV_id_2                uint8\n",
       "OC_mode_if_luxurious_id_1          uint8\n",
       "OC_mode_if_luxurious_id_2          uint8\n",
       "Length: 223, dtype: object"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "oc.dtypes"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 存盘\n",
    "oc.to_csv(\"../../data/features/OC_features_offline.csv\",index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
